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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
This is a duplicate of issue #1388532