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

Desktop ParameterControllerView.CreateSearchParameterList NullReferenceException

Discussion in '5.2 Beta' started by cygnusprojects, Jul 6, 2015.

  1. cygnusprojects

    cygnusprojects

    Joined:
    Mar 13, 2011
    Posts:
    767
    Whenever I open an existing project or create a new one I'm getting this error:
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.Graphs.ParameterControllerView.CreateSearchParameterList (System.String newSearch, Int32 searchMode) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/ParameterControllerView.cs:509)
    3. UnityEditor.Graphs.ParameterControllerView.RebuildList () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/ParameterControllerView.cs:456)
    4. UnityEditor.Graphs.ParameterControllerView.ResetUI () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/ParameterControllerView.cs:268)
    5. UnityEditor.Graphs.AnimatorControllerTool.set_animatorController (UnityEditor.Animations.AnimatorController value) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/AnimatorControllerTool.cs:60)
    6. UnityEditor.Graphs.AnimatorControllerTool.DetectAnimatorControllerFromSelection () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/AnimatorControllerTool.cs:270)
    7. UnityEditor.Graphs.AnimatorControllerTool.OnEnable () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/AnimatorControllerTool.cs:300)
    8. UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
    9. UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)
    Filed a bugreport #710067.
     
    Last edited: Jul 6, 2015
  2. pierrepaul

    pierrepaul

    Unity Technologies

    Joined:
    Jun 19, 2012
    Posts:
    162
    Hi!

    We are aware of this bug and are working on a fix. For now, simply reset your layout and the problem should be gone.

    cheers.

    pp
     
  3. cygnusprojects

    cygnusprojects

    Joined:
    Mar 13, 2011
    Posts:
    767
    Thanks for the quick reply. Reverting to factory settings does indeed fix the issue, after you restarted Unity as well.