Due to the new requirement from Apple I have look into an old app to make it 64-bit compatible. My app uses Cocos2d v2.0.0-RC2. Knowing you guys just released an update v2.2 with 64-bit support, I pleasantly downloaded the release and replaced all files under Cocos2d, CocosDenshion, Box2d, and kazmath folder. My app compiles without errors under arm64. (Great.)
Now here comes the problem, whenever I start the game, no visuals can be shown. It's just black. After a few blind test I can confirm that it still detects touch and plays sound.
One weird behaviour is that, if I exit the app (without killing it) and go back in again, the visuals come right back and everything is normal again.
The error I can see from my console is:
OpenGL error 0x0506 in -[CCES2Renderer resizeFromLayer:] 140
I'm totally new to Cocos2d so any guidance or hints would be very helpful.
Thanks a lot!