Search Issue Tracker
Not Reproducible
Votes
4
Found in
2019.2.0a7
Issue ID
1129836
Regression
No
Prefab mode allows user to save changes to immutable prefabs
1. Open attached project
2. Search for Prefabs (click on All Prefabs or t:Prefab in search bar)
==>
You will see two prefabs from Packages folder
3. Open "DataPrivacyButton" prefab from Analytics package in Prefab mode
4. Make some changes (e.g. delete one of the components) and save
==>
ArgumentException: Saving Prefab to immutable folder is not allowed: 'Packages/com.unity.analytics/DataPrivacy/DataPrivacyButton.prefab'
UnityEditor.PrefabUtility.SavePrefab (UnityEngine.GameObject inputObject, System.String path, UnityEditor.ReplacePrefabOptions replaceOptions, UnityEditor.PrefabUtility+PrefabCreationFlags creationFlags, System.Boolean& success) (at C:/UnitySource/Trunk/Editor/Mono/Prefabs/PrefabUtility.bindings.cs:191)
UnityEditor.PrefabUtility.SaveAsPrefabAsset (UnityEngine.GameObject instanceRoot, System.String assetPath, System.Boolean& success) (at C:/UnitySource/Trunk/Editor/Mono/Prefabs/PrefabUtility.cs:1204)
Expected: The save functionality for immutable prefab in Prefab mode should be disabled
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
andreighinea1
Aug 30, 2019 16:29
This also happens in 2018.4.7f1, but not in 2017.4.27f1