cocos2d / cocos2d-js

cocos2d-x for JS
http://www.cocos2d-x.org
MIT License
1.86k stars 490 forks source link

Unstable Rendering of Scene when entered the second time in Wechat on Android #1821

Open wayne5ning opened 8 years ago

wayne5ning commented 8 years ago

Problem

Open the url http://game.littall.com/test/HelloWorld.html in Wechat for the second time, the scene keeps blinking.

Context

The html page to test is downloaded from http://cocos2d-x.org/filecenter/jsbuilder/ by selecting the Lite Version.

Reproduced on Devices

Huawei Honor 4, Android 4.2.2 Samsung Galaxy 4, Android 5.0.1 Nexus 7 2012, Android 4.1.2

Wechat version

6.3.11

Reproduced Game Engine Version

3.9 3.10 works fine for 3.8

How to reproduce

1 open the url http://game.littall.com/test/HelloWorld.html in the wechat or scan the QR code image which opens a webpage, the scene is rendered correctly. 2 close the webpage, and reopen the url. This time, the scene is rendered incorrectly. Specifically, the scene keeps blinking.