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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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