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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1388532