Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Updating to Beta unparents children of certain prefabs

Discussion in '2022.1 Beta' started by MousePods, Feb 17, 2022.

  1. MousePods


    Jul 19, 2012
    I updated from 2021.2.7 to 2022.1.0b8.

    When updated, some prefabs will unparent all their children. I don't know how to reproduce this as I put that same prefab into a new project in 2021.2.7 and updated it to the beta, but it didn't break.

    The error I get in my main project:

    Assertion failed on expression: '(prefabInstance->GetMergedStatus() == PrefabInstance::kNormalMerge) == !prefabInstance->GetPrefabModification().HasValidAddedGameObjects()'
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

    Is this a known issue? Is there anyway around this or specific to the prefab I can change so it won't unparent all its children?
  2. SteenLund


    Unity Technologies

    Jan 20, 2011
    A number of fixes to the upgrade process is coming in one of the next 22.1 releases
    MousePods likes this.