Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2019.3.X, 2020.1.X



Found in





Issue ID




Editor throws errors when adding new Component while Prefab is selected and Inspector is locked

Asset - Database


How to reproduce:
1. Create a new project
2. Create an empty GameObject
3. Drag the created GameObject to the Project window to make it a Prefab
4. Select the Prefab in the Project window
5. Lock the Inspector
6. Add a Box Collider Component

Expected result: No errors thrown
Actual result: "The previous instance of UnityEditor.PrefabImporterEditor has not been disposed correctly." errors thrown

Reproducible with: 2019.3.0b6, 2019.3.7f1, 2020.1.0b3, 2020.2.0a4
Not reproducible with: 2017.4.38f1, 2018.4.19f1, 2019.3.0b5

Note: If the bug does not reproduce when adding the Component, delete that Component and add it again (or add other Component), on some version it is reproducible when adding the Component for the second time. On mac it is reproducible from 2020.1.0a20

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0a9

  2. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0b9

  3. Response avatar

    Resolution Note (fix version 2019.3):

    Fixed in: 2019.3.15f1

Comments (6)

  1. Ee9e209ff9dde7e0aaec87a1cd6b9954?d=mm


    Dec 29, 2020 12:44

    Thank you

  2. 879d111529f600046dfc1281180eb17d?d=mm


    Jun 30, 2020 13:09

    This post isn't simply to boast about my achievements, however, to offer tips for overcoming the thesis procedure from somebody who generally has and is currently thinking back on the spots where I battled the most. The (periodically conflicting) tips underneath speak to the things I would have done any other way, in the event that I could have.

  3. 1c808767e9da393fe9e8a2f3d8676686?d=mm


    Jun 27, 2020 12:05

    Can anyone explain the error more for dummies and beginners he just says something like "this is the line of the error and the perticullar character" and how to solve unity compiler error:"CheckConsistency: GameObject does not reference component Light. Fixing I already used for my mental health. because I have a very busy schedule so I really need these types of products.

  4. 62db08b7919b1ae9df8ff033d9e36a92?d=mm


    May 29, 2020 17:52

    The information you have posted is very useful. The sites you have referred was good. Thanks for sharing.. Cleaning Services

  5. 62350c826197c38530c11e0f00e6405b?d=mm


    May 27, 2020 09:30

    Thank you for such a wonderful article and sharing. God bless you.!

  6. 003601082247fb63a9db3e8efad729d9?d=mm


    Apr 26, 2020 21:39

    This is the first time i got to know about the rad over new and i really feel happy for the way it's been described here. I always refer blogs for better speech statements and this service will help a lot i guess.

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.