galacean / engine

A typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF.

Home Page:https://galacean.antgroup.com/engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

zstonecode2019 opened this issue · comments

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;但在手机端依然存在切三到四次就白屏的情况;

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