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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.