8000 Preview Simulator crashes with a large number of textures · Issue #18644 · cocos/cocos-engine · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Preview Simulator crashes with a large number of textures #18644

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

Open
placDev opened this issue Apr 20, 2025 · 5 comments
Open

Preview Simulator crashes with a large number of textures #18644

placDev opened this issue Apr 20, 2025 · 5 comments
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@placDev
Copy link
placDev commented Apr 20, 2025

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?

Image

Image

Image

Image

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

  1. Create a default 3D project
  2. We load the model (gltf) with different materials and meshes (about 200 textures)
  3. When starting the Preview Simulator, we get a black screen and crash after a few seconds
  4. Remove all textures, leaving only meshes, and the Simulator starts

Minimal reproduction project

No response

@placDev placDev added Bug Needs Triage Needs to be assigned by the team labels Apr 20, 2025
@dumganhar
Copy link
Contributor

Would it also be black screen using build windows compiled by vs 2019?

@placDev
Copy link
Author
placDev commented Apr 21, 2025

@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?

Image

@placDev
Copy link
Author
placDev commented Apr 21, 2025

I'm adding an archive with the model, just add it to the scene to reproduce the error.

agroprom.zip

@dumganhar
Copy link
Contributor

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.

@placDev
Copy link
Author
placDev commented Apr 21, 2025

@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.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants
0