Moonlit Radio

Total Noob Mistakes

So yesterday I spent a good four hours setting up some character handling methods. I had all my code compiling just great, no errors, tests were clean. Everything.

But when I ran the game in Unity it would return a very vague object error and wasn't displaying the my test dialog. What gives? I spent another hour debugging my code. Still nothing, script was bullet proof.

Screenshot 2024-10-23 at 10

IT WOULD HELP IF I ADDED THE CONFIGURATION FILE IN THE GAME OBJECT!

I had this config file set to "none" which was causing the code to look for a configuration method value that wasn't there. Something about Unity I have learned is that any changes I make while the game is in play mode will be removed when I turn play mode off. I'm used to Visual Studio letting me make changes while debugging and those changes stay...

Now I know! :P