Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2020.1
2020.1.0b16
2020.2
Issue ID
1263035
Regression
No
[Tree] Editor throws NullReferenceException after dragging and dropping Leaf Group into Branch Group
When a Leaf group is added in Tree with a modified position then on dragging and dropping Leaf Group into Branch Group, Editor throws NullReferenceException refer the attached stack trace and video
Steps to repro:
1. Create a new Project.
2. Hierarchy > GameObject > 3D > Tree.
3. In Inspector > Tree > Add Leaf Group
4. Move Leaf Group concerning its position
5. Drag and Drop Leaf Group into Branch Group.
Actual Result:
NullReferenceException errors in the console.
Expected Result:
No errors in the console.
Workaround:
Drag and Drop unmodified Leaf Group into Branch Group.
Reproducible in:
2020.2.0a18, 2020.1.0b16, 2019.4.3f1, 2018.4.15f1
Environment:
Windows10 and macOS 10.15
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] Application frequently crashes on Social.LoadAchievements call when many achievements are registered
- Errors “RenderPass: Attachment 0 is declared as depth attachment but RGBA8 sRGB is not a valid depth format.“ and “BeginSubPass: Not inside a Renderpass“ are present when using Native RenderPass with a RenderTexture that only has depth output
- ArgumentOutOfRangeException is thrown when an empty DropdownField is clicked at runtime
- [tvOS] "EXC_BAD_ACCESS" error is thrown when Painter2D.ClosePath is called
- Bad Naming Convention in Shortcuts Window for Sprite Shape Editing
Resolution Note (fix version 2020.2):
https://ono.unity3d.com/unity/unity/pull-request/112655/_/trees-1263035-leaf-group-drag-and-drop-nullref