Search Issue Tracker

In Progress

Under Consideration for 2022.3.X

Votes

38

Found in

2022.3.27f1

6000.0.0f1

Issue ID

UUM-71810

Regression

No

OnAfterDeserialize is not called when Prefabs are instantiated using InstantiateAsync

--

-

How to reproduce:
1. Open the attached “IN-72997” project
2. Open the “SampleScene”
3. Select the “Test” GameObject in the Hierarchy
4. In the Inspector, press the “Instantiate Prefab” button
5. Select the “Instantiate Result” GameObject in the Hierarchy
6. Take note of the “Serialized Value” displayed in the Inspector
7. Select the “Instantiate Async Result” GameObject in the Hierarchy
8. Repeat step 6

Expected result: The value of “Serialized Value” is the same for both “Instantiate Result” and “Instantiate Async Result”
Actual result: OnAfterDeserialze is not called on the “Instantiate Async Result” GameObject and the value of its “Serialized Value” is 0

Reproducible in: 2022.3.27f1, 6000.0.0f1
Could not test with: 2021.3.38f1 (InstantiateAsync is not supported)

Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested

Note: Also reproducible in Player

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.