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

HD RP

-

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.