Builded scene keeps crashing, in Editor it works
My build keeps crashing with this stack trace from the logs: 0x77799902 (ntdll) RtlInitializeExceptionChain
here is the whole log file: http://hastebin.com/koxogejege.tex
I tried:
Deleting the library folder
Clearing the occlusion Data & rebaking it,
checking that the UI fonts always include the UI font shaders,
disabling the prebake collision meshes in the inspector & the GPU skinning.
Other scenes work if i build them. In editor play mode the scene works without warnings and errors. Idk what to do any more. It happens only in my main scene in which i have put multiple weeks worth of work.
Ill be very greatful for any help!
I found a solution! After some direction from Ahaz from the Unity dev channel on discord, i started to just disable next to all the gameobjects that i knew werent in the last build that worked succesfully. One by one i renabled the objects that i had grouped and disabled in the hirarchy and tried the build again and again until it worked. I redid this process until i narrowed it down to a bunch of ParticleSystems. There is stil nothing that seems to be wrong with them but disabling them removed the crashing problem.