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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
This is a duplicate of issue #825035