Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2022.1.X
Votes
0
Found in
2022.1
2022.2
2022.2.0a9
Issue ID
1417508
Regression
Yes
[HDRP] Editor crashes on RaiseException when building project using Build and Run for the second time
Reproduction steps:
1. Open the attached project "Crash_test.zip" from Google Drive
2. Go To File > Build Settings
3. Press Build and wait for the Build to finish
4. When Build is finished select Build and Run
5. Observe the Editor
Expected result: Build is successful
Actual result: Editor crashes
Reproducible with: 13.1.6 (2022.1.0b10), 13.1.7 (2022.1.0b16),14.0.2 (2022.2.0a10)
Not reproducible with: 12.1.6 (2021.3.0f1), 13.1.5 (2022.1.0b9) 14.0.1 (2022.2.0a8)
Could not test with: 7.7.1 (2019.4.38f1), 10.8.1 (2020.3.33f) - project breaks after downgrade
First stacktrace lines of Development Build:
2022-04-07T14:52:33.134Z|0x5a7c|0x00007FFC650D3FA9 (KERNELBASE) RaiseException
2022-04-07T14:52:33.334Z|0x5a7c|0x00007FF6076321CC (Unity) CxxThrowException
2022-04-07T14:52:33.406Z|0x5a7c|0x00007FF606CD9B83 (Unity) DoBuildPlayer_Build
2022-04-07T14:52:33.406Z|0x5a7c|0x00007FF606CD7EF6 (Unity) DoBuildPlayer
2022-04-07T14:52:33.456Z|0x5a7c|0x00007FF606CCBE47 (Unity) BuildPlayer
2022-04-07T14:52:33.504Z|0x5a7c|0x00007FF604B2FEFF (Unity) BuildPipeline::BuildPlayerInternalNoCheck
2022-04-07T14:52:33.544Z|0x5a7c|0x00007FF60494247C (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
2022-04-07T14:52:33.544Z|0x5a7c|0x000001B5CA910C77 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[],bool)
Notes:
- Reproducible with empty HDRP project
- Reproducible with Direct3D11, Direct3D12, and Vulkan Graphics APIs for Windows
- Reproducible with Mono and IL2CPP Scripting Backend selected
- Reproducible with macOS Standalone, Windows Standalone
- Not reproducible if building with Build and Run for the first time
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2022.2):
Fixed in: 14.0.2 (2022.2.0a12)
Resolution Note (fix version 2022.1):
Fixed in: 13.1.8 (2022.1.0f1)