Search Issue Tracker
Fixed
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Progress indicator in Meta Quest Build Profile configuration is barely visible
- Slightly transparent objects disappear completely in Web Player when using RenderGraph
- Visual Scripting Components are hidden behind a throbber when Multiplayer Play Mode is running with at least one local instance
- Video Player does not throw an error when playing a video with unsupported encoding settings
- Errors indicating that TMP Extras were not Imported logged when opening the Render Pipeline Converter Window while in Play Mode
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-77930