Short Description:
Using the latest 0.8 cocos rls, after reloading a layer that contains AtlasSprites, some of the sprites load as white/blank rectangles, instead of the actual image. This happens sporadically, and only occurs on 2.2.1, its fine running on a 3.0 device. If you reload the layer again, different AtlasSprites can have the issue, its not always the same ones.
It usually doesn't occur until the layer has been loaded and released at least 3 or 4 times. Anyone seen anything like this?
Full Description:
I've just checked my app on my house mates 3G running 2.2.1 and have found an issue that I can't replicate on my usual 3.0 device.
I have multiple AtlasSprites added to a 'game' layer, with various animations run on them. The issue still occurs without running any of the animations. The images are preloaded using the new addImageAsync method.
The first few times the scene and layer are loaded, everythings fine. But if you keep unloading, and reloading, some of the AtlasSprites will show as a blank/white box, instead of the image. Reload again (by going back to the menu scene, and re-entering the scene and layer again), and different sprites will have this issue, and previous ones that were white, load fine.
It may well be something in my code (I'm guessing it must be), but as its sporadic/not-consistent, its making it hard to track down.
My house mates gone out now, so can't do any more tests at this moment. Currently debating whether to downgrade my phone to 2.2.1 to do further tests, as I was hoping to submit the app today :-/
Any ideas before I start stripping back the project to do some thorough tests?