I did everything that I could. I have optimised the scenes, deleted unused objects, atlases - everything and this is what I get in xcode - Terminated due to memory issue The strange thing that it is based on another game that I already have. Different artwork. The other game is much more complicated. more artwork. The only difference is that in this one I have 10 worlds and in the first game I has 1. What to do ?
Only thing i can think of, is atlas issue as Christoph has said, One thing it could be is if one old image has been deleted from left panel, but has not been deleted in the scenes first, then the game is still looking for that one image which is not in the atlases and will cause it to crash. Not 100% sure, but i have done that before.
I have in the original game 31 Atlases - Works amazing on every machine The new game have the same amount of Atlases. Same artwork with the an addition of actions. I removed the actions. didn't change a thing. Both games load the atlases at the same place (41%) but one loads and one says that there is a memory issue - same headset any clue ?
it has to be something with how you changed the images. Not 100% sure. If it worked fine before, now not, and all you have done is changed graphics, then there has to be something with that.
but again - SAME CODE, SAME GAME, SAME ART - works great The only thing I have added are coins in the actions and coins in the objects. So I was thinking that maybe this is the issue - I deleted them all - nothing
I get what your saying, but it must be something to do with the changing of graphics. Are you just dropping in the graphics over the top of the old ones, or are you clicking the x in the image placeholder and then dropping them in. Best thing i read somewhere, is to delete images from the right panel place holder then optimise atlases, then drop in the new images. See how that goes.
Also once i had this problem, i deleted a object from the left panel but i missed deleting the object from one scene, i didn't notice it there. my game kept crashing on 99%, then someone pointed out my problem, after searching through 75 scenes i found one little yellow placeholder on a scene. removed that and then it worked LOL
There is no reason to delete anything - the only thing we did is adding coins as actions. but no matter what I do - even deleting them out of the game and our of the atlases - nothing helps