Search Issue Tracker
Duplicate
Votes
0
Found in
2022.1.0a6
2022.1.0b1
2022.2
Issue ID
1387315
Regression
Yes
Errors are thrown when AssetDB tries to save some Prefabs in an immutable Unity Package folder
How to reproduce:
1. Open the user's attached "U2022b" project
2. Press the "Ctrl + S" ("⌘ + S" on MacOS) key combination on keyboard
Expected result: No error is thrown
Actual result: "Saving Prefab to immutable folder is not allowed: PREFAB_PATH" errors are thrown in the Console log after each saving, where PREFAB_PATH is the path for the Prefab in an immutable Unity Package
Reproducible with: 2022.1.0a6, 2022.1.0b7, 2022.2.0a5
Not reproducible with: 2019.4.36f1, 2020.3.29f1, 2021.2.12f1, 2022.1.0a5
Note:
- Selecting the Prefab in the Project Browser spams the Console log with "ArgumentException: Can't save an immutable Prefab" errors
- Deleting the Library folder fixes the issue until you select the Prefab in the Project Browser
- Not reproducible with all immutable Prefabs
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
This is a duplicate of issue #1388532