Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Probuilder Error: SerializedObjectNotCreatableException

Discussion in 'World Building' started by kyleyoungblom, Apr 13, 2021.

  1. kyleyoungblom

    kyleyoungblom

    Joined:
    May 1, 2014
    Posts:
    27
    I've been getting a constant error from probuilder for some time now. I'm not sure when it started, but it seems to pop up whenever scripts compile or scenes are loaded. I've tried removing ProBuilder from my package cache and reinstalling from a fresh download, but it hasn't helped.

    Unity version: 2021.1.0f1
    ProBuilder version: 5.0.3

    Code (CSharp):
    1. SerializedObjectNotCreatableException: Object at index 0 is null
    2. UnityEditor.Editor.CreateSerializedObject () (at <0e11587263324259967daac4d577d226>:0)
    3. UnityEditor.Editor.GetSerializedObjectInternal () (at <0e11587263324259967daac4d577d226>:0)
    4. UnityEditor.Editor.get_serializedObject () (at <0e11587263324259967daac4d577d226>:0)
    5. UnityEditor.ProBuilder.ProBuilderShapeEditor.OnEnable () (at Library/PackageCache/com.unity.probuilder@5.0.3/Editor/EditorCore/ProBuilderShapeEditor.cs:57)
     
  2. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    446
    Can you file a bug report please?
     
  3. Setmaster

    Setmaster

    Joined:
    Sep 2, 2013
    Posts:
    196
    Same issue.
     
  4. Bill4096

    Bill4096

    Joined:
    Oct 15, 2019
    Posts:
    1
    same issue
     
  5. kyleyoungblom

    kyleyoungblom

    Joined:
    May 1, 2014
    Posts:
    27
    I fired up the editor to file a report, but I can't seem to repro it all of a sudden. Was happening consistently for a few weeks; tried restarting the editor and resetting my layout but no dice. If I see it again I'll file a bug report.
     
    kaarrrllll likes this.
  6. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    446
    Thanks @kyleyoungblom I haven't seen this myself yet, but given the responses it seems like it's affecting more than just you. For anyone in the thread who is able to reproduce, please consider filing a bug report to help us find the problem.
     
unityunity