Search Issue Tracker
Duplicate
Votes
0
Found in
5.4.1f1
Issue ID
855235
Regression
Yes
Restoring deleted prefab child with ‘Rect Transform’ in Hierarchy causes a crash in Transform::GetLocalPosition
Reproduction steps:
1. Open the attached project "case_855235_small";
2. Open the scene "test";
3. Open the prefabs in Hierarchy window and select at least 2 children from one and another prefab.
4. Delete selected prefab children;
5. Click in the Hierarchy window;
6. Press CTRL+Z;
Actual result: Unity crashes in Transform::GetLocalPosition.
Expected result: the prefab children should return.
The prefab has to have a component "Rect Transform" that Unity crashes. Also, in 5.4.1f1 version, you have to select at least 2 prefab children form one and another prefab that Unity crashes (version_5.4.1f1.gif). In 5.6.0a3 version, you can select just one prefab children and Unity crashes (version_5.6.0a3.gif).
Reproduced with: 5.4.0f1, 5.4.1f1, 5.5.0f3, 5.6.0a3
Not reproducible: 5.2.5f1, 5.3.6p3, 5.4.0a2, 5.4.0b25
Regression introduced in 5.4.0f1
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
This is a duplicate of issue #825035