C# script main menu problems anyone can help

so iv bin using a tutorial for some c# stuff and iv got the scripts down but nothing is showing for my main menu screen and im getting a bubble at the bottom of page saying “cant load custom inspector SunShaftEditor because the inspected type is null” what dose this mean???

The error message is telling you exactly what the problem is, but I doubt anybody can help you because nobody knows what on earth you’re doing or what this tutorial is. What the hell is “SunShaftEditor”?

You should really start with something simple to learn how scripting and Unity works. The “bubble” at the bottom of the screen is an error message. Click on it to see the console and it’ll list all errors in your scripts. It sounds like you’re missing a script somewhere, or need to set a variable in the inspector to point to this mysterious script.

ya i know the damnd bubble is an error messg that wasint the question. the" whats this mean" was to the sunshafteditor part in the messge nothing im doing is calld that and was just wondering if it was a problem somone else has had before and what im doing is in the tittle of the post

As xomg said above.

You’re using code provided by the tutorial I presume. If this is not a Unity provided tutorial then surely your questions should be directed towards the people that created the tutorial.

Regardless, somewhere amongst the code you’ve acquired is a reference to the “SunShaftEditor”. You need to find the script this is referenced in and if it is irrelevant to what you’re doing, remove it from your project.
If it is relevant to what you’re doing you need to ensure that it is given a value (whatever that may be) to ensure it is not null.

intresting

omg the hole time it was a non-cap O on an OnGUI i cant belive it 3 hours of frustration lol