Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.5.0f3
Issue ID
866855
Regression
Yes
Unity crashes when Destroying a GameObject with HideFlags.DontSave and PrefabUtility.ConnectGameObjectToPrefab()
Reproduction steps:
1. Open the attached project
2. Open the example scene
3. Select the Crash Unity Game Object
4. Press the crash button in the inspector
Result: Unity crashes, when trying to destroy a GameObject with HideFlags.DontSave and PrefabUtility.ConnectGameObjectToPrefab( said GameObject, its Prefab )
Reproducible on: 5.5.0f3, 5.5.0p3, 5.6.0b3
Not reproducible on: 5.4.4f1
Reproducible on both OS X and Windows
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
- [iOS] Application.deepLinkActivated does not get invoked while app is running when UIApplicationSceneManifest is added in Info.plist
- Inspector scroll area stretches when using components with nested serialized arrays on FBX model prefab instances
- Crash on ConstraintProjectionTree::projectionTreeBuildStep when ConfigurableJoint uses JointProjectionMode.PositionAndRotation and connected Rigidbody switches from kinematic to non-kinematic
- ScriptableObject asset is accessed during the lookup of Build Profiles when opening the Build Profiles Window
- [Multiplayer TPS Sample] Grenade launcher explosion misses the Player when the Collider count exceeds HitColliderBuffer
hadesfury
Apr 04, 2017 08:08
It seems it happens in 5.6.0f3