Search Issue Tracker
Fixed in 2017.2.X
Votes
0
Found in
2017.1.0b2
Issue ID
902562
Regression
Yes
"Assertion failed: Internal: Possible leak." when swapping from OpenGL to Metal after deleting sprite and atlas
"Assertion failed: Internal: Possible leak. All textures should be removed from IdMap when destructed using RemoveTexture(TextureID texid)." when swapping from OpenGL to Metal, after deleting sprite and atlas
1. Set Unity to OpenGL 4.1 by disabling Metal Editor Support Experimental in Player Settings
2. Import any sprite, create a sprite atlas
3. Pack the sprite into the atlas
4. Delete the sprite and atlas
5. Open Player Settings and enable Metal Editor Support Experimental
Expected: No error
Observed: Assertion failed: Internal: Possible leak. All textures should be removed from IdMap when destructed using RemoveTexture(TextureID texid).
Occurring on: 2017.1.0b1 onwards until 2017.1.0b2 (current latest)
Not occurring: 2017.1.0a5, 2017.1.0a6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment