Hi, I’m following this tutorial and have a problem, I want to test like in 11:47 but get the message “All compiler errors have to be fixed before you can enter playmode!”. I don’t know what to do as I followed the tutorial exactly as it was. Please help.
Note: I’m not sure if it’s relevant, but when I checked “Generate C# Class” unlike in 6:23, the fields were empty (C# Class File, C# Class Name, C# Class Namespace).
The console will have all compiler errors listed. Click the bottom left corner of the Unity Editor to open the console. Make sure the red errors are enabled (only the red ones are actual errors). It depends on what the specific error says as to what you need to do, but typically it will be able to bring you to your code editor to a line at or within a few lines to where your actual problem is. If you’re using a good code editor like VS, it will also likely show you the error in the code once you get to the right place.
If you still have trouble, post the exact error, the relevant code it says is the problem, and point out the specific line the console says the error is at.
Also, you never bothered to link to whatever tutorial you’re talking about.