Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b5
Issue ID
768051
Regression
Yes
[OSX] Crash after attaching renderer to gameobject, 5.4 regression, in RenderNodeQueue::Cleanup
Steps to reproduce:
1. Open Unity;
2. Add empty gameobject (GameObject -> Create Empty);
3. In the Inspector select Add Component -> Mesh -> Mesh Renderer.
Actual result:
Unity crashes (see attached gif video).
Last calls in the stacktrace:
#0 0x00000100cff64d in RenderNodeQueue::Cleanup()
#1 0x00000100cff59f in RenderNodeQueue::~RenderNodeQueue()
#2 0x000001019d3fd0 in RenderSingleRendererWireframe(BaseRenderer*)
#3 0x000001019d0b01 in DoRenderSelected(CameraCullingParameters const&, RenderingPath)
#4 0x000001019cff05 in Camera::RenderEditorCamera(Camera::EditorDrawingMode, DrawGridParameters const*)
#5 0x000001317f2525 in (wrapper managed-to-native) UnityEditor.Handles:Internal_DrawCameraWithGrid (UnityEngine.Camera,int,UnityEditor.DrawGridParameters&) + 0xa5 (0x1317f2480 0x1317f2554) [0x117741990 - Unity Child Domain]
Crash also happens with Skinned mesh, Sprite and Billboard renderers.
Doesn't happen with Canvas, Particle, Line renderer.
Regression introduced in 5.4.0b5.
Expected result:
Unity should not crash when attaching renderer component to GameObject.
Notes:
- Reproes on 5.4.0b5;
- Reproes in OSX 10.11.3;
- Doesn't repro in 5.4.0b4;
- Doesn't repro on Windows 10;
- Doesn't repro if attaching multiple renderers to gameobject (for example, attaching Billboard rendered to Cube gameobject).
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Game controller input doesn't work on VisionOS 2.0
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- 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
Add comment