Search Issue Tracker

Fixed in 5.5.0

Votes

0

Found in

5.5.0b1

Issue ID

829453

Regression

No

Crash in CollectObjectHierarchyWithHideFlagFilter if GameObject is deleted in OnWillSaveAssets callback during ReplacePrefab

Assets Management

-

Crash in CollectObjectHierarchyWithHideFlagFilter GameObject is deleted in OnWillSaveAssets callback while ReplacePrefab is called on said Object.

To reproduce:
1. Open attached project
2. Create an instance of TestPrefab in the untitled scene
3. Select it in hierarchy
4. Menu -> ReplacePrefabTest -> Run Test
-> Observe crash

Reproducible: 5.5.0b2, 5.4.1f1, 5.3.6p4

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.