Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2019.3
2020.1.0a23
Issue ID
1218841
Regression
No
Using ClearImporterOverride to revert an asset that is using a ModelImporter creates memory leaks and logs errors in the console
Using ClearImporterOverride to revert an asset that is using a ModelImporter creates memory leaks and logs errors in the console
1. What happened
I've created a script that changes the importer override of a mesh to another importer and then revert back to material.
2. How we can reproduce it using the example you attached
Run the Tools/BugRepportDraw menu.
Expected: the cube is re-imported as a Mesh and no errors are thrown.
Actual: The console is showing errors about missing material and a memory leak. The console is then showing the memory leak message after every input until Unity is closed.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RendererScene::NotifyInvisible when GameObjects are deleted from the Hierarchy in a specific Scene
- "Import projects" button doesn't work in Unity Hub
- Animation is affected by TimeScale when setting Animator's updateMode to UnscaledTime in onDisable()
- Shader Graph generates 'İ' in the shader when using Turkish Regional format
- Crash on ParticleSystemUpdateData::CacheSubEmitters(ParticleSystem&) when shared subemitter referenced by multiple nested particle systems
Add comment