Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. 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

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:
    911
    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 Moderator

    Joined:
    Apr 11, 2010
    Posts:
    26,727
    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?
     
unityunity