Black sprite after Lock screen interrupt

Hi,

I am using v3.8.1 c++
I have few sprites creating from Texture2D.
Now i have problem when lock screen interrupt is given all sprites created by Texture2D objects become black square.
Also i dont have problem with home key interrupt.
For iPhone is working fine, only for Android i have this problem.
Any idea?
thanks.

How are you creating these Texture2Ds? If you’re calling new Texture2D() yourself and initialising them with your own data, try adding your Texture2D instances to the VolatileTextureMgr. This static class is used on Android to restore Texture data when the GL context is destroyed by the OS. Make sure to remove your textures when you destroy them though :slight_smile: