Search Issue Tracker
Fixed
Fixed in 14.0.7, 15.0.4, 16.0.1
Votes
3
Found in [Package]
14.0.6
15.0.4
16.0.0
Issue ID
SGB-445
Regression
Yes
NullReferenceException is thrown when the Custom Mesh option in the Shader Graph Main Preview window is selected
How to reproduce:
- Open the attached project "U-Shaders.zip"
- Open Assets/FlatSingleColor.shadergraph
- Click the right mouse button on the Main Preview window
- Select Custom Mesh
Expected results: No errors thrown in the Console window
Actual results: "NullReferenceException: Object reference not set to an instance of an object" thrown in the Console window
Reproducible with: 2022.2.0b5, 2022.2.5f1, 2023.1.0b3
Not reproducible with: 2020.3.44f1, 2021.3.17f1, 2022.1.24f1, 2022.2.0b4
Reproducible on: Windows 10
Comments (3)
-
DiodeLadder
Mar 30, 2023 08:20
I am experiencing this same issue in 2022.2.12f1. Windows 10 here.
-
spryx
Mar 26, 2023 14:12
This will be the 3rd time you guys have "fixed" this.. why is it so difficult?
-
wichilowat
Mar 20, 2023 11:01
Im experiencing this as well, super annoying.
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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (fix version 16.0.1):
Thank you for submitting this issue. The fix has been worked on and released on Unity version 2023.2.0a9 (16.0.1)
Resolution Note (fix version 15.0.4):
Thank you for submitting this issue. The fix has been worked on and released on Unity version 2023.1.0b11 (15.0.4)
Resolution Note (fix version 14.0.7):
Thanks for submitting this issue. The fix has been worked on and will be released on Unity 2022.2.15f1