- Home /
Question by
WayongSweg · May 24, 2015 at 02:54 PM ·
componentscript errorcompile
Can't add Script to Player
So I'm learning how to use unity and when I was trying to drag my movement script to the player tab thing in the hierarchy, a pop-up appears and says "Can't add script: Please fix compile errors before creating new script components"
Comment
Seems like your script won't compile. Can you share it, and tell us about any compile messages.
Actually, it seemed like it fixed itself because I just restarted unity and it work. $$anonymous$$aybe it was a bug in unity, or I just have a weird/slow computer and it didn't save the script when I clicked save. But anyway thanks for offering to help!
Your answer
Follow this Question
Related Questions
what is a script component?? 0 Answers
2D Animation does not start 1 Answer
Win32Exception 2 Answers
Access the same component 1 Answer