You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I've found that your importer may generate a lot of garbage in RAM.
You can try loading the small demo image attached (256x256 px) and check Unity's Profiler. Here is a screenshot where new AseFile(stream); takes more that 1 GB RAM when loading it.
Another issues that I've found that you create temp textures and leave them in RAM. For example, here is your GetFrame(int index) method where Texture2DBlender generates new textures. I've made a workaround with destroying textures:
Hi! I've found that your importer may generate a lot of garbage in RAM.
You can try loading the small demo image attached (256x256 px) and check Unity's Profiler. Here is a screenshot where
new AseFile(stream);
takes more that 1 GB RAM when loading it.Another issues that I've found that you create temp textures and leave them in RAM. For example, here is your
GetFrame(int index)
method where Texture2DBlender generates new textures. I've made a workaround with destroying textures:Demo project: https://drive.google.com/file/d/147BEdQGPhsTpYh54UNZlx5C5zPCbWrV-/view?usp=sharing
The text was updated successfully, but these errors were encountered: