Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

0

Found in

2021.2.0a18

2021.2.0f1

2022.1

Issue ID

1376999

Regression

No

Unity Crashes when calling 'isValid', 'isOverridable', or 'type' on an uninitialized LocalKeyword variable

Shader System

-

Reproduction steps:
1. Open attached project "ReproProject"
2. Open "SampleScene"
3. Enter Play Mode

Expected result: Unity enters Play Mode or throws an error
Actual result: Unity Crashes

Reproducible with: 2021.2.0a18, 2021.2.1f1, 2022.1.0a14
Could not test with: 2019.4.32f1, 2020.3.22f1, 2021.1.28f1(No LocalKeyword type), 2021.2.0a17 (no isValid, isOverridable or type properties)

  1. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a16

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.6f1

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.