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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment