Search Issue Tracker
Won't Fix
Votes
1
Found in
2022.3.14f1
2023.2.2f1
2023.3.0a16
6000.0.0b11
Issue ID
UUM-57462
Regression
Yes
Prefab overrides cannot be obtained when Serialized via Property
How to reproduce:
1. Open the “PrefabOverrides“ project
2. Open the Test Runner window (Window > General > Test Runner)
3. Make sure the “EditMode” category is selected
4. Select “Run All”
Expected result: Tests fail and “Found 2 Added Game Objects via SerializedProperty -> ParentPrefab” is logged to the Console
Actual result: Tests pass and “Found 0 Added Game Objects via SerializedProperty -> ParentPrefab” is logged to the Console
Reproduced on: 2022.2.0a4, 2022.3.14f1, 2023.2.2f1, 2023.3.0a16
Not reproduced on: 2021.3.33f1, 2022.2.0a3
Reproduced with: macOS 14.1.1 (Intel) (by reporter), Windows 11
Not reproduced with: No other environment tested
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
m_AddedGameObjects and m_AddedComponents are not intended to be used in the public API and they are not in sync with the actual PrefabInstance state.
The synchronization happens only for short periods of time when we write the PrefabInstance to disk.
When we read the PrefabInstance object from disk we keep this information until the Prefab Merging happens and we clear it immediately after