so i have been developing a game and i have ran into a huge stopping point in my progress, im using unity 5.4 and it was running fine at first but then suddenly (no compiler errors) it consistently crashes over and over i don’t know weather to post the crash log on the question but i would really appreciate a hand.
There isn’t much to see in your post. However, this usually occurs when there is a prefab or gameobject in scene, the script files on which have been renamed. This could also happen if their file (disk) name is not the same as their MonoBehaviour class name. I would suggest :
-
See if your monobehaviors’ class names are exactly the same as your file (disk) names.
-
Clear your scene hierarchy and add game objects back to it. The scripts need not have any issue, but Unity seems to have problem reflecting changes on class/file names onto scene objects.
@farhanblu hey man just wanted to say thanks because the cause was something to do with the actual project and not the assets, so all i had to do was make a new unity project and move all the assets from the corrupted project into the new one and all the scenes are still together which is amazing that i dont have to build any levels again, so yeah try moving the assets to a new project and getting a fresh start for the project settings.