Class and file names#

The name of your class must be identical to its file name.

You can find the name of your class where your code looks like:

public class ClassName : MonoBehaviour

In this example if your script isn't named Script Icon ClassName, you must rename it to be identical.


This includes capitalisation and spaces.


My script still cannot be loaded