Code execution stops when trying to back to menu:
VS2013 Unity 4.7.2 targeting WSA 8.1
I execute this code:
Application.LoadLevel(escapeScene);
Debug.Log("ESCAPE_3");
So “escape 3 gets printed” but menu does not load.
ESCAPE_3
(Filename: C:/buildslave/unity/build/artifacts/MetroSupportGenerated/UnityEngineDebug.cpp Line: 62)
DynamicHeapAllocator out of memory - Could not get memory for large allocation
Could not allocate memory: System out of memory!
Trying to allocate: 183026070B with 4 alignment. MemoryLabel: NewDelete
Allocation happend at: Line:0 in Overloaded New
Memory overview
[ ALLOC_DEFAULT ] used: 424413300B | peak: 0B | reserved: 479893522B
[ ALLOC_GFX ] used: 101996089B | peak: 0B | reserved: 121966319B
[ ALLOC_CACHEOBJECTS ] used: 3038992B | peak: 0B | reserved: 12582912B
[ ALLOC_TYPETREE ] used: 0B | peak: 0B | reserved: 0B
[ ALLOC_PROFILER ] used: 760284B | peak: 0B | reserved: 12582912B
Could not allocate memory: System out of memory!
Trying to allocate: 183026070B with 4 alignment. MemoryLabel: NewDelete
Allocation happend at: Line:0 in Overloaded New
Memory overview
[ ALLOC_DEFAULT ] used: 424413300B | peak: 0B | reserved: 479893522B
[ ALLOC_GFX ] used: 101996089B | peak: 0B | reserved: 121966319B
[ ALLOC_CACHEOBJECTS ] used: 3038992B | peak: 0B | reserved: 12582912B
[ ALLOC_TYPETREE ] used: 0B | peak: 0B | reserved: 0B
[ ALLOC_PROFILER ] used: 760284B | peak: 0B | reserved: 12582912B
(Filename: C:/buildslave/unity/build/Runtime/Allocator/MemoryManager.cpp Line: 920)
Template.exe ha desencadenado un punto de interrupción.
Stracktrace looks like this:
When I double click in stack grace it says:
Source code not found , you must loop up logassert.cpp to see the source code…
But I cant find it and I don´t see any post with same issue :\
So far, in the project properties I get not to search the following source code files:
c:\buildslave\unity\build\runtime\allocator\allocationheader.h
c:\buildslave\unity\build\runtime\camera\shadows.cpp
c:\buildslave\unity\build\runtime\utilities\logassert.cpp
c:\buildslave\unity\build\runtime\allocator\memorymanager.cpp
At some point or another I’ve seen requests for theese to be found, should I edit this list?

