Search Issue Tracker
Not Reproducible
Votes
0
Found in
4.6.0b1
Issue ID
588409
Regression
Yes
Exception is thrown when closing Renderer selection window for LODGroup
- Add LODGroup component to any gameobject
- Select one of the LOD levels and click on the Add Renderer button
- Close the Window that opens (the one that let's you select a renderer)
Result:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.LODGroupEditor+<GetRenderers>c__AnonStorey50.<>m__B4 (UnityEngine.GameObject go)
System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[UnityEngine.GameObject].MoveNext ()
System.Linq.Enumerable.Count[GameObject] (IEnumerable`1 source)
UnityEditor.LODGroupEditor.GetRenderers (IEnumerable`1 selectedGameObjects, Boolean searchChildren)
UnityEditor.LODGroupEditor.HandleAddRenderer (Rect position, IEnumerable`1 alreadyDrawn, Rect drawArea)
UnityEditor.LODGroupEditor.DrawRenderersInfo (Int32 horizontalNumber)
UnityEditor.LODGroupEditor.OnInspectorGUI ()
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty)
UnityEditor.ContainerWindow:InternalCloseWindow()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment