Search Unity

Bug The object of type 'ProBuilderMesh' has been destroyed but you are still trying to access it.

Discussion in 'World Building' started by inSight01, May 4, 2022.

  1. inSight01

    inSight01

    Joined:
    Apr 18, 2017
    Posts:
    90
    Whenever I create a ProBuilder mesh (doesn't matter what kind of mesh) and I go to delete it I get this message.


    Code (CSharp):
    1. MissingReferenceException: The object of type 'ProBuilderMesh' has been destroyed but you are still trying to access it.
    2. Your script should either check if it is null or you should not destroy the object.
    3. Rethrow as ImmediateModeException
    I get this message even from an empty project with no scripts. I'm using Unity 2021.3.1f1
     
  2. lukaskaz

    lukaskaz

    Joined:
    Nov 7, 2021
    Posts:
    1
    did you solve the problem?
     
    TenshiHanka and Deleted User like this.
  3. dnorambu

    dnorambu

    Joined:
    Sep 14, 2021
    Posts:
    11
    Same problem here
     
    TenshiHanka and Deleted User like this.
  4. inSight01

    inSight01

    Joined:
    Apr 18, 2017
    Posts:
    90
    I haven't tried since I last made the post. I've been using Blender. I did notice that it only happens with ProBuilder 5.0.x. ProBuilder 4.5.x worked fine with 2020+ so may be worth trying to install it into 2021+ and giving it a try. I haven't tried doing that with myself so cannot confirm this works.
     
    dnorambu likes this.
  5. TenshiHanka

    TenshiHanka

    Joined:
    Jun 12, 2020
    Posts:
    1
    I'm getting this problem without even deleting the mesh. I can't figure out how to get ProBuilder 4.5.x either. It only lets me use the most recent version.