Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

2017.1.f1 NullReferenceException: UnityEditor.CurveEditor

Discussion in '2017.1 Beta' started by CDF, Jun 30, 2017.

  1. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,311
    Getting this error every time I open my project:

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.CurveEditorWindow.OnDestroy () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/CurveEditorWindow.cs:259)
    UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)
     
  2. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Same. It's in Beta 10 though - will try newer first before report.
     
  3. Cyber_2016

    Cyber_2016

    Joined:
    Aug 27, 2016
    Posts:
    46
    Me 2.. Exact same error on newest Unity 2017.1.0f2 - Release Candidate 2 ... Although was only sometimes when first launching Unity opening my game. I cleared it in the Console.. Ran build for android, all seems ok I guess but I do get the odd Crash report error on the Google play store.. Hopefully this doesn't crash, while playing the game. :D

    java.lang.Error
    android.graphics.Canvas.throwIfCannotDraw
     
  4. Alex-Lian

    Alex-Lian

    Guest

    The CurveEditor null reference is fixed in f3.

    I cannot find any bug reference to the throwIfCannotDraw. Would you please send a bug report?