strong textMy game was completely fine before installing Unity4 but now I get a crash to desktop 100% of the time when running the game in the editor.
I have found that the problem lies at the point of the game attempting to load an asset bundled scene.Once the bundle has successfully downloaded I try to load it. The game then crashes at the Application.LoadLevel command.
**- EDIT: If I load a blank scene it works!...but if I load the scene I want with ALL Game Objects deactivated it still crashes.(Shouldn't this do exactly the same as a blank scene??)**
In the editor log the crash seems to occur at:
It happens 100% of the time!
I tested it with a couple of different scsnes and it doesn't seem to matter which one I try to load, it always crashes here.
Any help would be gratefully received! Thanks!
That means you have some code on an asset in this scene which causes the crash. It looks like you used the unity api in a class constructor or field initializer. Those are executed from a different thread. I would recommend to backup the whole project and start removing your scripts from all objects (one by one) to see which one causes the error.
There's not much we can do with that little information.
answered Jan 04, 2013 at 01:28 PM
In order to get the scene to load I had to delete every object from the scene which had font (seemingly).
For some reason if I add any objects (such as a default GUIText) the level load attempt will crash to desktop.
My initial scene contains fonts but is not streamed from an asset bundle.
I am now at the point where I cant load/run any scene containing fonts downloaded as asset bundles...which effectively ruins the game my team have been working hard on for the last two years.
MASSIVE ROADBLOCK HERE!
Where to next? Help!?! The only option I can see is to roll back to 3.5.
Cheers P.S> At this point in time I'm thinking 'That was £1400 well spent...NOT!'..