Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.2.0x
Issue ID
1051844
Regression
No
Crash on PrefabImporter::GenerateAssetData when reimporting Nested Prefab
How to reproduce:
1. Open the attached "1051844_repro.zip" project
2. Observe that it contains three prefabs forming a hierarchy:
- "Parent" prefab contains nested "Child" prefab
- "Child" prefab contains nested "Grandchild" prefab
- "Parent" prefab has an empty script attached to the "Grandchild"
3. Inside "Child" prefab, delete the nested "Grandchild" GameObject
Expected result: Editor does not crash.
Actual result: Editor crashes.
Reproducible with - 2018.2.0x-ImprovedPrefabs (ff19e2e229d2)
Note: There is another scenario to reproduce this issue. If the project had already crashed before, reimport "Parent" prefab and the project crashes again.
Stack trace:
(Unity) PrefabImporter::GenerateAssetData
(Unity) AssetDatabaseV1::ImportAsset
(Unity) AssetDatabaseV1::UpdateAsset
(Unity) AssetInterface::ProcessAssetsImplementation
(Unity) AssetInterface::StopAssetEditing
(Unity) AssetInterface::ImportAtPath
<...>
Fixed in 2018.3.0a6
Comments (1)
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
- Different build sizes between Editor build and command-line build when "Static Batching" is enabled
- Particle System "Start Rotation" property affects a different axis when upgrading to newer Editor versions
- "Light" Component's "Culling Mask" setting is hidden but still has an effect when using HDRP
- Selecting the Web platform can be done when using the HDRP project
- Textures swap when SpriteRenderers with shared materials and animators are toggled on and off
shubhamswaraj2021
Aug 22, 2020 11:19
good one <a href="https://www.lyricsauto.com">lyricsauto</a>