Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X

Votes

2

Found in

2020.2.0a11

2020.2.0f1

Issue ID

1299790

Regression

Yes

Editor crashes on UpgradeOldShaderSyntax when shaders are being upgraded during importing process

Shader System

-

Reproduction steps:
1. Open the user's attached "2020-2-bug.zip" project
-- Observe the crash

Reproducible with: 2020.2.0a11, 2020.2.1f1, 2020.3.2f1
Not reproducible with: 2018.4.30f1, 2019.4.18f1, 2020.2.0a10, 2021.1.0a1, 2021.1.0f1, 2021.2.0a10

Note: the issue only affects 2020.2 and 2020.3 streams

The stack trace of the crash:
0x00007ff6adb0e8a3 (Unity) FixupCg
0x00007ff6adb1a9a1 (Unity) UpgradeOldShaderSyntax
0x00007ff6adab6112 (Unity) UpgradeShader
0x00007ff6adab7059 (Unity) UpgradeShadersIfNeeded
0x00007ff6ada6d94a (Unity) Application::InitializeProject
0x00007ff6ae3e2be2 (Unity) WinMain
0x00007ff6b0228256 (Unity) __scrt_common_main_seh
0x00007ffca3de7034 (KERNEL32) BaseThreadInitThunk
0x00007ffca55dd0d1 (ntdll) RtlUserThreadStart

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0a12

  2. Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.2f1

  3. Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.5f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.39f1

Comments (2)

  1. Orangy-Tang

    Apr 29, 2022 14:40

    Any word of the fix for 2019? This is happening a lot for us in 2019.4.20f1.

  2. chribbe

    Mar 24, 2021 11:40

    Any ideas how we can work around this? We can't start our project with a 3rd party asset in using 2020.3.0

Add comment

Log in to post comment