- Home /
script isn't loading (beginner question)
Im a beginner with Unity, so this is probably an easy fix. I'm following Unity's Space Shooter tutorials and I'm stuck on part 06, trying to write the code for the shots. Had some issues with the scripting becuase of differences in versions (im on the latest version of unity, the tutorial is still on unity 4) but thanks to a youtube commenter I think I got it fixed. I hit the play button at the top left of monodevelop and everything seems fine, I check for errors/warnings and there seem to be none. My problem is when I go to the empty object the script is attached to, it says this: The associated script can not be loaded. Please fix any compile errors and assign a valid script. The script seems good and I can't figure out what could be wrong. Any ideas?
never$$anonymous$$d. apparently adding all script file names need to start with a capital. That somehow fixed it.
Answer by MohammedKhalid · Oct 01, 2016 at 04:27 PM
that means you have a compiler error and you will have to fix that first and then apply the script and you will find all the errors marked in red in the console inside unity.
Your answer
Follow this Question
Related Questions
why do i get this warining when there is a main camera? 0 Answers
implicit downcast 'Object' to "UnityEngine.Quaternion" 1 Answer
Box Collider 2D -failed verification- warning even when the size is reasonable 2 Answers
Attempt to insert 9Slice RenderData twice warning in erroneous places 0 Answers
SendMessage cannot be called during Awake, CheckConsistency, or OnValidate 0 Answers