When i try to load game on the OUYA, the game hangs and i get these messages repeating in a loop in the log:
E/Unity ( 5198):
E/Unity ( 5198): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
E/Unity ( 5198):
I/Unity ( 5198): File Read: /data/data/com.AdventureMob.BoltRileyChapter1/files/BoltRileyChapter1_1.save
I/Unity ( 5198):
I/Unity ( 5198): -----------------------------
I/Unity ( 5198):
I/Unity ( 5198): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
I/Unity ( 5198):
E/Unity ( 5198): Could not allocate memory: System out of memory!
E/Unity ( 5198): Trying to allocate: 645032B with 16 alignment. MemoryLabel: FMODSample
E/Unity ( 5198): Allocation happend at: Line:183 in
E/Unity ( 5198): Memory overview
E/Unity ( 5198):
E/Unity ( 5198): [ ALLOC_DEFAULT ] used: 948515001B | peak: 948517161B | reserved: 949870613B
E/Unity ( 5198): [ ALLOC_TEMP_JOB ] used: 949573B | peak: 0B | reserved: 1310720B
E/Unity ( 5198): [ ALLOC_GAMEOBJECT ] used: 1770176B | peak: 1770176B | reserved: 1933652B
E/Unity ( 5198): [ ALLOC_GFX ] used: 815310B | peak: 28235627B | reserved: 818521B
E/Unity ( 5198): [ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B
E/Unity ( 5198):
E/Unity ( 5198):
E/Unity ( 5198): (Filename: Line: 980)
E/Unity ( 5198):
E/Unity ( 5198): Error: Cannot create FMOD::Sound instance for resource 9b971ec8bbdc1f64dabbd61bbe5fc84a.resource, (Not enough memory or resources. )
E/Unity ( 5198):
E/Unity ( 5198): (Filename: Line: 860)
E/Unity ( 5198):
E/Unity ( 5198): Could not allocate memory: System out of memory!
E/Unity ( 5198): Trying to allocate: 262144B with 16 alignment. MemoryLabel: File
E/Unity ( 5198): Allocation happend at: Line:30 in
E/Unity ( 5198): Memory overview
E/Unity ( 5198):
E/Unity ( 5198): [ ALLOC_DEFAULT ] used: 949523753B | peak: 949523753B | reserved: 950879612B
E/Unity ( 5198): [ ALLOC_TEMP_JOB ] used: 949573B | peak: 0B | reserved: 1310720B
E/Unity ( 5198): [ ALLOC_GAMEOBJECT ] used: 1770296B | peak: 1770296B | reserved: 1933791B
E/Unity ( 5198): [ ALLOC_GFX ] used: 815310B | peak: 28235627B | reserved: 818521B
E/Unity ( 5198): [ ALLOC_PROFILER ] used: 0B | peak: 0B | reserved: 0B
E/Unity ( 5198):
E/Unity ( 5198):
E/Unity ( 5198): (Filename: Line: 980)
E/Unity ( 5198):
E/Unity ( 5198): Inflate Error: <unknown> (file zip crc32 : f785d6bb) (result: fffffffe)
E/Unity ( 5198):
E/Unity ( 5198): (Filename: Line: 262)
E/Unity ( 5198):
E/Unity ( 4789):
E/Unity ( 4789): Inflate Error: <unknown> (file zip crc32 : 158bfb09) (result: fffffffe)
E/Unity ( 4789):
E/Unity ( 4789): (Filename: Line: 262)
from what i understand it's a memory probelm. any ideas how to solve this ?
Comments
I haven't seen this before and don't have the set-up to test it myself. The best way to debug this will likely be to crach open SaveSystem.cs, find the LoadSaveGame function (around 582) and place in a return; command in there to find which part it's having trouble with.