Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X
Votes
6
Found in
2022.3.42f1
6000.0.15f1
7000.0.0a1
Issue ID
UUM-77769
Regression
No
Spawning a prefab with nested prefabs through InstantiateAsync will remove all but the last array references in the root script
Reproduction steps:
1. Open the attached “Repro“ project
2. Open the “Assets/InstantiateTest/InstantiateTest.unity“ Scene
3. Enter the Play Mode
4. Press the 'A' button when the Game View is in focus
5. Observe the Console
6. Select the “PrefabRoot (Clone)“ GameObject in the Hierarchy
7. Observe the “Prefab Childs” list in the Inspector
Expected result: No errors are present and all of the “PrefabChild“ Child GameObjects are referenced in the list
Actual result: “Prefab Child is null!” error is thrown in the Console and only the last “PrefabChild“ Child GameObject is referenced in the list, others are missing
Reproducible with: 2022.3.42f1, 6000.0.15f1
Couldn't test with: 2021.3.42f1 ('InstantiateAsync()' is not available)
Reproducible on: M1 Max MacOS 14.5
Not reproducible on: No other environment tested
Notes:
- The issue is present on both Editor and Build. Instantiate() works as expected, but the issue is present with the InstantiateAsync() call
- Reproducible with Android Player
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
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
- Mouse and Pointer Events are called incorrectly in ScrollView with XRUIInputModule
- Memory leak occurs when repeatedly minimizing and maximizing the UI Builder window
acherkashin
Sep 03, 2024 11:28
same issue in 2022.3.44
CDAGaming
Sep 02, 2024 00:33
Reproduced on 2022.3.43f1
Winddy123
Aug 26, 2024 05:16
Have the same problem in 2022.3.42f1