After building the game in Unity 5 and running it, imediately after the “powered by unity 5” screen i always get this crash:
“this application has requested the runtime to terminate it in an unusual way”
What’s going on and how do I fix it?
After building the game in Unity 5 and running it, imediately after the “powered by unity 5” screen i always get this crash:
“this application has requested the runtime to terminate it in an unusual way”
What’s going on and how do I fix it?
check the player.log file:
Here it is. Thanks for you help.
2253740–150612–output_log.txt (30 KB)
Anything?
looks like all kind of errors there, try building empty scene from the same project, does that crash?
The file '/Divergence Online_Data/mainData' is corrupted! Remove it and launch unity again!
[Position out of bounds!]
A script behaviour has a different serialization layout when loading. (Read 116 bytes but expected 112 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
The file '/Divergence Online_Data/resources.assets' is corrupted! Remove it and launch unity again!
[Position out of bounds!]
Shader 'Arch_Design': fallback shader 'Diffuse' not found
The referenced script on this Behaviour is missing!
The referenced script on this Behaviour is missing!
Yes I removed everything, even all other scenes from the build menu and the same problem persists. This is turning out to be a huge problem that I’m sure has a simple solution but Unity is being useless and not giving any specific information so I’m looking for help here.
Does it crash with other project builds?
And export files from the current project to completely new project and test build there.
The project is huge, over 12gb, but the “export” it creates is just 14mb in size… It isn’t including any models, textures, scenes, or anything in the export.
Select everything from project window, Right click > Export package… but this might take forever with 12gb…
Or test with 1 scene, right click on it at project window, select dependencies, Export package, disable include dependencies, export
I did that. Exported and imported just the loading scene that appears as soon as you run the game, which was incredibly small, and it did the exact same thing. It even gave this as the entire explanation in the output log:
Initialized touch support.
Crash!!!
Is that some kind of @#$%ing joke Unity? You don’t think it’s necessary to give even the slightest info about what is causing this bug instead of just saying “Crash!!!” ?