Search Issue Tracker

Fixed

Fixed in 2022.2.0b3, 2023.1.0a2

Votes

0

Found in

2022.2.0a11

2022.2.0a15

2023.1.0a1

Issue ID

UUM-1249

Regression

Yes

Crash on ShaderLab::Pass::ComputePassValuesHash when uninstalling the URP package

-

Reproduction steps:
1. Open the attached project
2. Install the "Universal RP" package
3. Once the installation finishes, uninstall it

Expected result: The package uninstalls
Actual result: The package uninstalls, but the Editor crashes

Reproducible with: 2022.2.0a11, 2022.2.0a15
Not reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.3.3f1, 2022.2.0a10

Reproduces on: Windows 10, macOS 12.3.1 (Intel)

Note:
On macOS, it crashes right after uninstalling the package. On Windows, it should crash when switching around scenes after uninstalling.

Stacktrace:
0x00007ff78b66cd8d (Unity) ShaderLab::Pass::ComputePassValuesHash
0x00007ff78b647836 (Unity) Material::UpdateHashes
0x00007ff78b6383e1 (Unity) Material::BuildProperties
0x00007ff78b639eea (Unity) Material::CreateMaterial
0x00007ff78c108384 (Unity) DetailRenderer::DetailRenderer

  1. Resolution Note (fix version 2023.1.0a2):

    Fixed in 2023.1.0a2

  2. Resolution Note (fix version 2022.2.0b3):

    Fixed in 2022.2.0b3

Add comment

Log in to post comment