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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug (IN-5287) Error "Destroying a GameObject inside a Prefab instance is not allowed" shown when destroy

Discussion in '2022.2 Beta' started by Kichang-Kim, Jun 3, 2022.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    979
    Hi. I found that Unity shows error like below when I destroy instantiated gameobject:

    This only occurred in Unity 2022.2.0a13. Unity 2022.1.x, 2021.3.x does not have this issue.

    Reported as IN-5287. (Ticket number formatting is changed?)
     
  2. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    979
    2022.2.0a18 still has the problem.
     
  3. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    979