Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H5页面上部署多个游戏,当不同游戏相互切换时伴随engine的重复创建,多次切换会出现白屏问题 #2075

Open
zstonecode2019 opened this issue Apr 15, 2024 · 1 comment

Comments

@zstonecode2019
Copy link

zstonecode2019 commented Apr 15, 2024

Describe the bug
H5页面上部署多个游戏,当不同游戏相互切换时伴随engine的重复创建,多次切换会出现白屏问题

Desktop (please complete the following information):

  • webview内核,Chrome116.0.0.0

Smartphone (please complete the following information):

  • Device: iphone 13 pro
  • galacean 版本: 1.0.1

Additional context
h5在iphone13 pro上基本切三四次就会出现白屏,在Chrome浏览器上出现白屏几率小;尝试使用过单例和把engine置为全局,重复进入时destory并赋值null;但在手机端依然存在切三到四次就白屏的情况;

@GuoLei1990
Copy link
Member

GuoLei1990 commented Apr 16, 2024

可以进一步补充下引擎版本之类的信息!如果可以,最好可以提供一个简单复现的 Demo,方便排查,我们也会尽快解决!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants