Search Issue Tracker
Duplicate
Duplicate in 2022.1.X
Votes
0
Found in
2022.1.0b10
2022.1.0b11
2022.2.0a9
Issue ID
1409612
Regression
Yes
Build And Run fails in HDRP projects
Reproduction steps:
1. Open the user's attached project "Fun Game.zip"
2. Build and Run the project
Expected result: Build succeeds and the Player runs
Actual result: Build fails with errors:
Saving Prefab to immutable folder is not allowed: Packages/com.unity.render-pipelines.core/Runtime/Debugging/Prefabs/Resources/DebugUICanvas.prefab
Saving Prefab to immutable folder is not allowed: Packages/com.unity.render-pipelines.core/Runtime/Debugging/Prefabs/Resources/DebugUIPersistentCanvas.prefab
Error building Player: 3 errors
Build completed with a result of 'Failed' in 11 seconds (11229 ms)
UnityEditor.BuildPlayerWindow+BuildMethodException: 5 errors
Reproducible with: 13.1.6 (2022.1.0b10), 13.1.7 (2022.1.0b11), 14.0.2 (2022.2.0a9)
Not reproducible with: 7.7.1 (2019.4.36f1), 10.8.1 (2020.3.31f1), 12.1.5 (2021.2.15f1), 13.1.5 (2022.1.0b9), 14.0.1 (2022.2.0a8)
Notes:
1. Build does not fail when clicking "Build" in the Build Settings window
2. Reproducible on an empty HDRP project
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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
This is a duplicate of issue #1388532