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

Out-of-memory when renaming, enormous use of resources when managing .glb files #718

Open
vincenzorin opened this issue Sep 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@vincenzorin
Copy link

vincenzorin commented Sep 19, 2024

Describe the bug
I have a .glb file (375 MB) with 36x8K textures. Unfortunately, doing any operation with this file (importing, renaming, even selecting to view in the inspector) requires a painful amount of time, usually resulting in a crash of Unity.
The Unity crash report says that renaming, in particular, causes out-of-memory issues.
I noticed that doing any operation with this (and similar, but even smaller) file makes intensive use of the SSD (it should be a decent one, I remember I saw 2300MB reading or writing) and I have 32GB RAM with a

Files
Unfortunately, I cannot provide a file for this. The asset was validated using the glTF Validator.

Expected behavior
Not to use the SSD for 20-30 seconds at 100% when I select the file in the Project window. Not to crash when renaming a file due to out-of-memory issues.

Desktop (please complete the following information):

  • glTFast version 6.7.1
  • Unity Editor version [e.g. 2021.3.16f1]
  • Universal Render Pipeline 12.0
  • Editor

Additional info
This is one of the crash reports I was presented with. This was triggered by inspecting the file via the inspector, changing Animation to "None" and deselecting the Components: Animations, Camera, Light.
image

@vincenzorin vincenzorin added the bug Something isn't working label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant