Search Issue Tracker
Fixed
Fixed in 6000.0.13f1, 6000.1.0a1, 7000.0.0a1
Votes
0
Found in
6000.0.8f1
6000.1.0a7
6000.2.0a1
7000.0.0a1
Issue ID
UUM-74931
Regression
Yes
NullReferenceException when changing the Default Material Type to "Custom"
Reproduction steps:
1. Open the attached “Repro“ project
2. Select the “Assets/Settings/Renderer2D.asset“ Rederer 2D Data Asset in the Project window
3. Change the Default Material Type to “Custom“ inside the Inspector
4. Observe
Expected result: No errors in the console, Default Material Type changes to Custom
Actual result: NullReferenceException is thrown in the Console, Default Material Type doesn’t change
Reproducible with: 2023.3.0a17, 6000.0.8f1
Not reproducible with: 2022.3.35f1, 2023.3.0a16
Couldn’t test with: 2021.3.40f1 (unable to downgrade)
Reproducible on: M1 Max MacOS 14.5
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment