Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X
Votes
6
Found in
2022.3.42f1
6000.0.15f1
6000.1.0a7
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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
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