Search Issue Tracker
Duplicate
Votes
0
Found in
4.5.0b1
Issue ID
588512
Regression
No
LODGroup. Selecting None when adding render to a group throws NullReferenceException
1. Add LODGroup component to Main Camera.
2. In Inspector panel for LODGroup select any group. e.g. LOD: 1
3. Press button Add to add renderer
4. In popuped window select None.
You'll get
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.LODGroupEditor <GetRenderers>c__AnonStorey50.<>m__B4 (UnityEngine.GameObject go) (at C:/BuildAgent/work/afa2580bf6048259/Editor/Mono/Inspector/LODGroupEditor.cs:559)
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) (at C:/BuildAgent/work/afa2580bf6048259/Editor/Mono/Inspector/LODGroupEditor.cs:564)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
- Unity Version Control server textfield’s text overlaps with the dropdown triangle button in the Explore repositories window when an organization with a long name is selected
Add comment