The game ends when loading a new scene.

When loading the second scene game ends.
But I found if I delete some from the scene gameobject (3d model) the scene is loaded.
It seems that the scene does not fit in RAM. But this is impossible. In the scene because I have a few things.
Can you help me?
Maybe I have something set wrong, I do not know.
Maybe it would work on high-end devices, but the middle-end and low-end does not work.
The scene is not at all difficult. The problem must be something else.

Would you have Application.Quit(); lurking in a file on those objects? You may remove the faulty one and it works but then if all in bam...

I removed Application.Quit(). But it did not help. Please advise this is important.

Can we get a look at the script please? :) Also, have you changed your build settings in order to tell Unity which level is which?

What kind of script you want to see?

I found that if I increase VM Heap Size to 64 + so it works :) Unfortunately, it is only with root and that most users do not. So how can I solve this?

1 Answer

1

I found that if I increase VM Heap Size to 64 + so it works :slight_smile:
Unfortunately, it is only with root and that most users do not.
So how can I solve this?
EDIT:
Solved:
http://forum.unity3d.com/threads/178092-The-game-ends-when-loading-a-new-scene?p=1218017#post1218017