Search Unity

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

    Guest

    Hi!
    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

    Norika2015

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

    GamesbyJP

    Joined:
    May 20, 2018
    Posts:
    62
    I can confirm this being an issue using 2021.3.17f1.