Can't add script component because the script class cannot be found
Aishanii

Aishanii @aishanipach

About: I journal tech learnings and may give my 2 cents💁‍♀️ | Follow my System design journey!

Location:
India
Joined:
Mar 14, 2021

Can't add script component because the script class cannot be found

Publish Date: Jul 27 '21
1 0

Alt Text
Try these:

1. Check if the name of the file is same as the class name or not. The class that associates with Monobehaviour must be same as the file name.

2. Check for any errors in your script

3. Bad import. In that case just right click your mouse in the project folders section and select Reimport All option.

Comments 0 total

    Add comment