We're running into an issue where I'm trying to launch the game on the Ouya, but the debugging in Eclipse is showing us that it's suddenly stops loading images in this last batch of folders. It's not some FileNotFound Exception or any permissions, the Ouya just suddenly stops working when it's trying to load these last few images.
Our Assets folder is a total size of 115MB in images so I think that's ok unless someone could tell otherwise.
The LogCat is showing me that the garbage collector is being called a lot, freeing around 1100KB per run, but it mostly says that there is 63% of free 11868K/31431K.
I've run it a bunch of times, restarted my computer and the Ouya, uninstalled the app and reinstalled it, but this problem continues to persist. I thought perhaps there was something wrong with the images, but when I changed the order of the images loaded, those images passed, and now it's a different set of images it crashes on that it use to be able to load.
Has anyone come across this problem or have any suggestions? The images are PNG format.
Comments
Texture nTexture = new Texture(Gdx.files.internal(pPath));
There shouldn't be much GC calls when you are only loading things - it's called mostly when you dispose of a lot of objects. Maybe lack of memory triggers it too...
PS. You are loading the textures in the constructor?
PS.2. You might consider posting this problem to badlogic (libgdx) forum too.