Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0a2
Issue ID
598396
Regression
Yes
Memory leak when doing grid slicing
- Import the attached UNET - LowLevel.jpg file
- Set Tecture type to Sprite and Sprite Mode to Multiple
- In the Sprite Editor select Grid Slicing and slice the image
- Press Apply
Result:
!GetPersistentManager().IsStreamLoaded(metaDataPath)
UnityEditor.AssetDatabase:StopAssetEditing()
UnityEditor.SpriteEditorWindow:DoTextureReimport(String) (at C:/clones/uGUI/Editor/Mono/SpriteEditor/SpriteEditorWindow.cs:1045)
Asset import did not unload metadata path. This will leak memory. File a bug with repro steps please.
UnityEditor.AssetDatabase:StopAssetEditing()
UnityEditor.SpriteEditorWindow:DoTextureReimport(String) (at C:/clones/uGUI/Editor/Mono/SpriteEditor/SpriteEditorWindow.cs:1045)
This is a regression compared to Unity 4.6.0b5. The whole process of slicing and applying the changes also takes much, much longer than before (probably caused by the memory leak)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment