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
- [Scene View][Ubuntu] Prefab mode UI ghosting in HDRP
- Deleting AudioMixer asset throws MissingReferenceException and breaks the Audio Mixer window
- Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
- [HDRP] Light doesn't bounce off terrains
This is a duplicate of issue #825035