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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
This is a duplicate of issue #1388532