Unity Issue Tracker - LOD Group renderers incorrectly retain their asset path when instantiated using InstantiateAsync

Search Issue Tracker

Active

Votes

5

Found in

2022.3.27f1

6000.0.0f1

Issue ID

UUM-71809

Regression

No

LOD Group renderers incorrectly retain their asset path when instantiated using InstantiateAsync

--

-

How to reproduce:
1. Open the attached “IN-74727” project
2. Open the “SampleScene”
3. Select the “Test” GameObject in the Hierarchy
4. In the Inspector, press the “Instantiate Prefab” button to create two GameObjects, one using Instantiate, and the other using InstantiateAsync
5. Observe the result in the Console window

Expected result: For both instantiated GameObjects, “IsPersistent” returns false and the renderer asset path is empty
Actual result: The GameObject instantiated with InstantiateAsync shows the renderer asset path as “Assets/Prefab_LOD.prefab” and “IsPersistent” returns true

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

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.