Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question UnityEditor.ObjectPreview was not disposed properly - Unity 2021.3.9f1

Discussion in 'Asset Importing & Exporting' started by Deleted User, Sep 13, 2022.

  1. Deleted User

    Deleted User


    I'm pretty new to Unity, still learning this game engine. I wanted to try making a basic scene with barrels that I model in Blender, I followed this tutorial GAME ASSET BEGINNER TUTORIAL - Exporting from Blender to Unity and everything goes fine until I came across this error.

    Screenshot 2022-09-13 163712.png

    [B]UnityEditor.ObjectPreview was not disposed properly. Make sure that base.Cleanup is called if overriding the Cleanup method. If you are implementing this in an Editor or EditorWindow, don't forget to call ObjectPreview.Cleanup in OnDisable.
    UnityEditor.ObjectPreview:Finalize ()[/B]

    I tried to find a solution but I couldn't find anything that could fix this error. On some Reddit thread, I found that a problem might be in mesh Normals, I already recalculate it in my Blender project but the same thing happens.
    Although my barrel model looks just fine on the scene, I want to know what this error means.

    I'm using Blender 3.2.2 and my Unity project is on Unity version 2021.3.9f1

    Screenshot 2022-09-13 164132.png
    Last edited by a moderator: Sep 13, 2022
  2. Norika2015


    Dec 15, 2022
    same problem here I imported some assets from Maya to Unity and got the same err
  3. GamesbyJP


    May 20, 2018
    I can confirm this being an issue using 2021.3.17f1.