Search Issue Tracker
By Design
Votes
0
Found in
5.4.3f1
Issue ID
868912
Regression
Yes
HideFlags.NotEditable doesn't set created prefab's components to not editable
To reproduce:
1.Download and open attached project
2.Go to Scene "Scene"
3.Enter Play mode
4.Exit Play mode
5.Click on Prefab object which was created in assets folder
Expected result: Created prefab object components become not editable trough inspector.
Actual result: Created prefab object components are editable in inspector.
Reproduced with: 5.3.7p2, 5.4.3f1, 5.5.0f3, 5.6.0b3
Not reproduced with: 5.2.5f1
Note:If In play mode, prefab object in the assets folder is selected and only then user exits Play mode, HideFlags.NotEditable works correctly.
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
- ScrollView Scrollbar is jittering when Movement Type "Elastic" is selected and a mouse with a freewheel is used
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
- [UaaL] Freeze on "GetLightingSettingsOrDefaultsFallback()" when rotating device screen after unloading Unity framework
- A white vertical artifact is present when any Material from HDRI is used for a panoramic skybox
- Editor freezes when handling Havok collision interactions between a thin collider and the player controller
Resolution Note (2018.3.X):
The prefab asset and instances are not communicating during playmode, so these kind of changes should be done in EditMode.