- Home /
Question by
doldorijw · Apr 29, 2020 at 11:18 AM ·
error messagecodepagecompiler error
,The associated script can not be loaded
Hi I'm new to Unity and I am making simple 2D game for mobile devices. I had 2 previous scripts ControllerScript and Joystick which used to work, but now I get this error and I can't run the game. I should be able to run the game pretty soon for my demonstration. Can someone help me?
screenshot-2020-04-29-153959.png
(357.5 kB)
screenshot-2020-04-29-154345.png
(405.9 kB)
Comment
Answer by Mrnoobik · Apr 29, 2020 at 11:39 AM
You can reassing this scripts and check if name of class is the same of the file name.
Are you saying
public class (name) : $$anonymous$$onoBehaviour
should be the same as the name of this script file?
$$anonymous$$y script file is named JoyStick and I have JoyStick at the (name) part.
Your answer
Follow this Question
Related Questions
Initial Compiler Errors 0 Answers
Why do I have 374 compiler errors? 1 Answer