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

Package: Shader Graph

-

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

  1. 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)

  2. 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)

  3. 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

Comments (3)

  1. DiodeLadder

    Mar 30, 2023 08:20

    I am experiencing this same issue in 2022.2.12f1. Windows 10 here.

  2. spryx

    Mar 26, 2023 14:12

    This will be the 3rd time you guys have "fixed" this.. why is it so difficult?

  3. wichilowat

    Mar 20, 2023 11:01

    Im experiencing this as well, super annoying.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.