- Home /
Game Crashes On Startup?
Whenever I run the exe that came from the build, my game loads, the First Person Controller lands on the ground, and the game crashes. Here is the error log:link text
Please help!
I do notice this in the log:
The file 'Z:/Program Files/UnityCreator/GameDemoWindows/GameDemo_Data/mainData' is corrupted! Remove it and launch unity again!
Along with some physics error messages that look interesting.
Hmm... You're right. I'll try to remove it... No, that didn't work... Let me try opening the editor when I delete it... Still nothing... I did notice that the web version of my game works, and I appreciate the quick answer btw
Probably one of these:
(Filename: ....\Framework\src\PxVolume.cpp Line: 11)
Actor Initialisation failed: returned NULL.
(Filename: ....\Physics\src\NpScene.cpp Line: 923)
Could not create tree colliders. $$anonymous$$aybe there are more Trees then PhysX can handle?
What is pXVolume?
It sounds like maybe you have too many trees? It sounds like something is wrong with your colliders? That's weird it mentions physX though are your trees moving or something? $$anonymous$$aybe it always says that for collider errors I have no idea.
Could try disabling the HDR RenderTexture since that's not supported for you as well.
The thing that jumped out at me originally was:
The file 'Z:/Program Files/UnityCreator/GameDemoWindows/GameDemo_Data/mainData' is corrupted! Remove it and launch unity again! [Position out of bounds! 436223496 > 15936]
$$anonymous$$aybe try backing up project deleting your PC build and then build a new one? Sounds like you somehow corrupted the file structure maybe? $$anonymous$$aybe you renamed files and bugged out that project mainData somehow?
Not sure that seems bizarre if only the PC build is not working but web build works? Have you ever had a successful PC build or this your first one?
I'm using unity 5 and build in x86. Works fine on my PC but when I copy the game folder and game to my laptop or any other windows of I get an error message saying the game crashed please send this files to the creator
Answer by SilentRanger25 · Feb 06, 2014 at 03:12 AM
Hm I definitely think you are onto something... I will definitely try that tomorrow and if it works that`d be awesome :-) The hdr would be beneficial as well as fixing the tree collision issue and finding what pxvolume is, so I will try all those. I cannot seem to find a solution to the maindata file problem, but I guess research is the best way to go and thank you
Answer by LightningFrost · Mar 13, 2014 at 01:58 PM
Hi! I dont know if this will help, but i experienced crash when I try to build my PC game in x86_64 arhitecture mode. When I change it to x86 arhitecture and build it, it works just fine!
Hope this helps!
Your answer
Follow this Question
Related Questions
Game crashes after build. 2 Answers
Game crashes after splash screen 2 Answers
Standalone CTD (Access Violation) - Making sense of "error.log" files? 0 Answers
Android build not working (Screen freezing every frame) 0 Answers
Build failed with errors? 0 Answers