2D-Character-Controller icon indicating copy to clipboard operation
2D-Character-Controller copied to clipboard

Associated Script can not be loaded

Open d3rg4m3r opened this issue 2 years ago • 1 comments

If i put the Script on the Player it says the associated Script can not be loaded. That also happens withe every other Game Controller i try.

d3rg4m3r avatar Nov 05 '21 17:11 d3rg4m3r

Im guessing its because you pasted the entire script in instead of just the code inside the script class, this can cause the Public Class Script:Monobehaviour part to be incorrectly named and can cause problems, just rename the script again after you pasted it or change the code in the script instead to match the script name in the Unity interface.

TheGodlyDemon avatar Feb 19 '22 16:02 TheGodlyDemon