Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Console Error - SerializedObjectNotCreatableException: Object at index 0 is null

Discussion in 'Editor & General Support' started by Hi_ImTemmy, Sep 10, 2019.

  1. Hi_ImTemmy

    Hi_ImTemmy

    Joined:
    Jul 8, 2015
    Posts:
    174
    Hey folks,

    I've recently upgraded to 2019.2.4f1. When running scenes in my game I'm occasionally getting this error appearing in my log:



    I say occasionally because if I restart Unity and then play the same scene it doesn't appear. I'm not sure what is causing it to appear as yet.

    Has anyone encountered this before?
     
    zephybite0, Tony_Max and MajidKhalili like this.
  2. toto007

    toto007

    Joined:
    Jul 18, 2014
    Posts:
    33
    I have same error. Do you have find the solution?
     
    MajidKhalili likes this.
  3. Havok_ZA

    Havok_ZA

    Joined:
    Jul 27, 2016
    Posts:
    66
    This will happen when you are running the game (hitting Play) and then modifying something in the inspector/properties window. It's especially the case when using Booleans (Clicking on a tickbox to enable or disable something while running the game).
     
    chemara and Hi_ImTemmy like this.
  4. Herschelx

    Herschelx

    Joined:
    Jun 8, 2018
    Posts:
    3
    still happen in 2019.4.0f1. not sure what caused it.
    start happening after using timeline signal
     
    nori0515, Roman_34 and rendermouse like this.
  5. absurdnoize

    absurdnoize

    Joined:
    Nov 23, 2019
    Posts:
    10
    I recently updated to 2019.4.1f.1 LTS and I am getting this error
     
    cjjeffery likes this.
  6. Harald_Heide

    Harald_Heide

    Joined:
    Jul 22, 2015
    Posts:
    76
    Yepp Got it in 2019.4.1f1 After I upgraded materials in imported asset to URP. Also lost upgraded URP material when saving scene. Strange...
     
  7. Betaman

    Betaman

    Joined:
    Mar 10, 2015
    Posts:
    4
    Same here, using Unity 2020.2.1f1. Seems harmless, but seeing errors all the time is annoying.
     
  8. Mad_max666

    Mad_max666

    Joined:
    Jul 10, 2021
    Posts:
    3
    I also have this error. @Unity is there anything to reference for a solution?
     
  9. Renardjojo

    Renardjojo

    Joined:
    May 15, 2019
    Posts:
    8
    I find an answer here:
    It is a Unity bug caused by the inspector window.
    Closing the second inspector window solved this issue.
     
  10. Roman_34

    Roman_34

    Joined:
    Nov 1, 2018
    Posts:
    14
    After using timeline signals, an exception began to appear when a project is being built in Unity:

    SerializedObjectNotCreatableException: Object at index 0 is null
    UnityEditor.Editor.CreateSerializedObject () (at <a259d3c004024353a2c217da97495055>:0)
    UnityEditor.Editor.GetSerializedObjectInternal () (at <a259d3c004024353a2c217da97495055>:0)
    UnityEditor.Editor.get_serializedObject () (at <a259d3c004024353a2c217da97495055>:0)
    UnityEditor.Timeline.Signals.SignalReceiverInspector.OnEnable () (at Library/PackageCache/com.unity.timeline@1.7.1/Editor/Signals/SignalReceiverInspector.cs:26)
     
    nori0515 likes this.