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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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