Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

2022.3.72f1

6000.0.74f1

6000.3.14f1

6000.4.6f1

6000.5.0b7

6000.6.0a6

Issue ID

UUM-141674

Regression

No

Prefabs import with incomplete hierarchy when the project is opened after Library deletion

Scene Management

-

How to reproduce:
1. Download the attached “IN-141408” project
2. Open the attached project folder in a PowerShell window
3. Paste the following the command into the terminal: Set-ExecutionPolicy -Scope Process Bypass
4. Run the script using the following command: .\run_tests_across_changesets.ps1
5. Observe the result in “<projectPath>/TestResults/test_results.txt”

Actual result: The Asset has a “Assertion failed on expression: 'prefabInstance.GetPrefabModification().m_TransformParent.IsValid()'.” warning and incomplete hierarchy
Expected result: The Asset has no warnings and a complete hierarchy

Reproducible with: 2022.3.72f1
Not tested with other versions

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Notes:
- Not tested by CQA
- The issue only occurs 50% of the time
- A crash will also occur with the following stack trace when running the above steps with the Editor open in Debug mode

First few lines of the stack trace:
0x00007FF75499D6E9 (Unity) [d:\agent_work\63\s\src\vctools\crt\vcruntime\src\string\amd64\memset.asm:67] memset_repmovs
0x00007FF748F85E41 (Unity) [C:\UnitySrc\unity\Runtime\Core\Containers\Vector.cpp:14] core::vector_detail::vector_data::resize_buffer
0x00007FF747B965CB (Unity) [C:\UnitySrc\unity\Runtime\Core\Containers\Vector.h:745] core::vector<KeyframeTpl<float>,0>::resize_buffer_nocheck
0x00007FF747AF667D (Unity) [C:\UnitySrc\unity\Runtime\Core\Containers\Vector.h:372] core::vector<KeyframeTpl<float>,0>::assign_range<KeyframeTpl<float> const *>
0x00007FF747B77DEF (Unity) [C:\UnitySrc\unity\Runtime\Core\Containers\Vector.h:364] core::vector<KeyframeTpl<float>,0>::assign

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.