Search Issue Tracker
Duplicate
Votes
0
Found in
2022.3.39f1
6000.0.12f1
Issue ID
UUM-76229
Regression
No
The references to the child GameObjects script components are missing when spawning the root GameObject with the "Object.InstantiateAsync" method
How to reproduce:
1. Open the “ReproProjectAsync“ project
2. Open the “ReproScene“
3. Enter the Play Mode
4. Open the “Cube (Clone)_Async“ GameObject in the Inspector
5. Observe the “Element 0“ and “Element 1“ of the “Child Ref Array“ in the “ScriptReferenceComponent“ script component
Expected result: All three elements of the “Child Ref Array“ have references
Actual result: The first two elements of the “Child Ref Array“ have no references
Reproducible with: 2022.3.39f1, 6000.0.12f1
Could not test with: 2021.3.41f1 (Method “Object.InstantiateAsync“ not present in this version)
Reproducible on: macOS 14.5 (Intel), Windows 10 (User’s)
Not reproducible on: No other environments tested
Note: Issue only appears with the “Object.InstantiateAsync“ method, the “Object.Instantiate“ works as expected
-
Resolution Note:
Duplicate
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-77930
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
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
This is a duplicate of issue #UUM-77930