Search Issue Tracker
Fixed
Fixed in 6000.4.0b5, 6000.5.0a5
Votes
0
Found in
6000.4.0b3
6000.5.0a4
Issue ID
UUM-131564
Regression
Yes
NullReferenceException is thrown when selecting "Custom Mesh" option in Shader Graph Main Preview
Steps to reproduce:
- Create a new Unity project using a 3D Universal Template
- Create and open any Shader Graph (e.g. Assets > Create > Shader Graph > Blank Shader Graph)
- Right-click on the Main Preview window
- Select the Custom Mesh option
- Observe the Console
Actual results: "NullReferenceException: Object reference not set to an instance of an object" is thrown, and it is impossible to select a custom mesh
Expected results: No errors, and a pop-up window for mesh selection opens up
Reproducible with versions: 6000.4.0a2, 6000.4.0b3, 6000.5.0a4
Not reproducible with versions: 6000.0.64f1, 6000.3.3f1, 6000.4.0a1
Tested on (OS): Windows 11, macOS 26.1 (M1 Pro)
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
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
Resolution Note:
Fixed in 6000.5.0a5
Resolution Note (fix version 6000.5.0a5):
Fixed in 6000.5.0a5
Resolution Note (fix version 6000.4.0b5):
Fixed in 6000.4.0b5