Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.6.0b6
Issue ID
876669
Regression
No
[SpeedTree][GraphicsAPI] 'Internal: Possible leak' error after switching graphics API in a scene with tree
Steps to repro:
OSX:
1. Open attached project and 't10TreeShadows' scene;
2. Go to Edit -> Project Settings -> Player;
3. Uncheck 'Auto Graphics API for Mac' checkbox;
4. Drag Metal on top of the list;
5. Observe console.
Windows:
1. Open attached project and 't10TreeShadows' scene;
2. Go to Edit -> Project Settings -> Player;
3. Uncheck 'Auto Graphics API for Windows' checkbox;
4. Click '+' button and add OpenGLES2 platform and OpenGlCore;
5. Drag 'OpenGLCore' on top of the list;
6. Drag 'OpenGLES2' on top of the list.
Actual result:
'Internal: Possible leak. All textures should be removed from IdMap when destructed using RemoveTexture(TextureID texid).'
is thrown in the console. See attached gif video.
Expected result:
Graphics API should be switched without errors.
Notes:
- Reproducible only on OSX 10.12.2 and on Windows 10;
- Reproducible in 5.6.0b6, 5.6.0b5, 5.5.0p4, 5.4.3f1.
- Reproducible only when switching Graphics API to Metal;
- Not reproducible in Standard Assets scene.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
- New selector in Matching Selectors displays as on line -1 in debugger
- The first frames are skipped when playing a video
- Text auto-scrolling can not work when naming assets/objects until backspace key is pressed
- Shadows are not cast when the Light's CullingMask and the GameObject's Layer do not match
Add comment