cocos-engine
cocos-engine copied to clipboard
Preview Simulator crashes with a large number of textures
Cocos Creator version
3.8.6
System information
Windows 10 Editor
Issue description
Hello everyone I'm adding an object with a lot of textures to the scene. The preview in the browser works well, but trying to run it through the Simulator causes a black screen and crashes after a few seconds. If you remove all the textures, everything starts well in the Simulator. If there are any solutions? Is there any way to fix this with the settings?
Relevant error log output
18:37:01 [DEBUG]: D/ XMLHttpRequest_finalize, 0000024DC3BF34C0 ... 18:37:01 [DEBUG]: D/ XMLHttpRequest_finalize, 0000024DC3BF3B60 ... 18:37:01 [DEBUG]: D/ XMLHttpRequest_finalize, 0000024DC3BF3810 ... 18:37:01 [DEBUG]: D/ XMLHttpRequest_finalize, 0000024DC3BF3EB0 ...
Steps to reproduce
- Create a default 3D project
- We load the model (gltf) with different materials and meshes (about 200 textures)
- When starting the Preview Simulator, we get a black screen and crash after a few seconds
- Remove all textures, leaving only meshes, and the Simulator starts
Minimal reproduction project
No response
Would it also be black screen using build windows compiled by vs 2019?
@dumganhar I'm trying to build a project in VS2022, but I get an error. The project folder contains the necessary libraries. Could you tell me how to solve the problem?
I'm trying to build a project in VS2022, but I get an error. The project folder contains the necessary libraries. Could you tell me how to solve the problem?
Delete the msvcp140d.dll and msvcp140.dll files in Debug or Release directory should work for you.
Or downgrade to VS 2019.
@dumganhar Yes, thank you very much! The project has been compiled and launched. Everything is working as it should, apparently the problem is only when using the Simulator. I would really like to see a fix in the next versions.
@dumganhar As I understand it, you are one of the contributors to the project. Do you know if any changes are planned on this issue in the near future?