Search Issue Tracker

Fixed in 5.4.0

Votes

0

Found in

5.3.3f1

Issue ID

779052

Regression

No

Passing null to Undo.RegisterCompleteObjectUndo or RegisterFullObjectHierarchyUndo crashes at GetAffectedUnitySceneHandles

Assets Management

-

Steps to reproduce:

1. Open attached project "779052.zip"
2. Open scene "repro"
3. Run it
- Unity crashes at "GetAffectedUnitySceneHandles"

Workaround: before passing value to RegisterCompleteObjectUndo or RegisterDullObjectHierarchyUndo, check if it's no null.

Reproduced with: 5.3.5p5, 5.4.0b23, 5.5.0a2

All about bugs

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