cocos / cocos-engine

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
https://www.cocos.com/en/creator
Other
8.23k stars 1.94k forks source link

webgl context lost #15783

Open xsmyqf opened 1 year ago

xsmyqf commented 1 year ago

Cocos Creator version

3.7.2

System information

windows 11

Issue description

在我尝试用性能较差的电脑去跑cocos creator的pc或手机端的网页,会显示webgl上下文丢失,显示出错地方为引擎的地方: image

Relevant error log output

No response

Steps to reproduce

  1. 打包应用
  2. 在性能较差的电脑上跑这个应用。

Minimal reproduction project

No response

pandamicro commented 1 year ago

一般是机能真的不够,比如显存不够,或者编译shader等待太长,也可以检查浏览器是否开启硬件加速以及是否使用独立显卡