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. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0a9

  2. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0b9

  3. Resolution Note (fix version 2019.3):

    Fixed in: 2019.3.15f1

Comments (8)

  1. WINNERunity

    Jul 31, 2022 15:05

    My friend Dave, studies nootropics, he is a specialist in pharmacology. If you want to know more about modafinil then I suggest you visit his blog. There is a lot of intersting.
    PharmCenterXL -

  2. WINNERunity

    Mar 26, 2022 08:24

    The best solution I found is

  3. JamesConnaly

    Dec 29, 2020 12:44

    Thank you

  4. ThomasMore1

    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.

  5. saleena20

    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.

  6. robertfcrocker

    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

  7. pohlepihp

    May 27, 2020 09:30

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

  8. LoisHarper

    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.