Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Recorder Empty Dialog and errors

Discussion in 'Editor & General Support' started by calvinstreeting, Aug 13, 2019 at 10:43 PM.

  1. calvinstreeting

    calvinstreeting

    Joined:
    Jun 14, 2019
    Posts:
    9
    tying to use the recorder but when i add a item to list i get no controls shown
    unity 2019.3.0a5
    Windows 10.0.17763 build 17763
    recoder Preview.3 - 2.0.2
    see package list attached image

    and errors that repeat in the console

    ArgumentException: Getting control 8's position in a group with only 8 controls when doing repaint
    Aborting
    UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:236)
    UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:60)
    UnityEngine.UIElements.UIRRepaintUpdater.Update () (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:48)
    UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTree () (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:73)
    UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:693)
    UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:274)
    UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:107)
    UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)


    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.Recorder.Input.GameViewSize.GetMainGameView () (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/Recorders/_Inputs/GameViewSize.cs:23)
    UnityEditor.Recorder.Input.GameViewSize.GetGameRenderSize (System.Int32& width, System.Int32& height) (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/Recorders/_Inputs/GameViewSize.cs:43)
    UnityEditor.Recorder.OutputResolution.GetWidth () (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/OutputResolution.cs:26)
    UnityEditor.Recorder.Input.StandardImageInputSettings.get_outputWidth () (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/ImageInputSettings.cs:35)
    UnityEditor.Recorder.FileNameGenerator.ResolutionResolver (UnityEditor.Recorder.RecordingSession session) (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/FileNameGenerator.cs:197)
    UnityEditor.Recorder.Wildcard.Resolve (UnityEditor.Recorder.RecordingSession session) (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/FileNameGenerator.cs:35)
    UnityEditor.Recorder.FileNameGenerator.ApplyWildcards (System.String str, UnityEditor.Recorder.RecordingSession session) (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/FileNameGenerator.cs:278)
    UnityEditor.Recorder.FileNameGenerator.BuildAbsolutePath (UnityEditor.Recorder.RecordingSession session) (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/FileNameGenerator.cs:229)
    UnityEditor.Recorder.FileNameGeneratorDrawer.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/FileNameGeneratorDrawer.cs:101)
    UnityEditor.PropertyDrawer.OnGUISafe (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at C:/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/PropertyDrawer.cs:23)
    UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.Rect visibleArea) (at C:/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:139)
    UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at C:/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:106)
    UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:208)
    UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:9456)
    UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:9445)
    UnityEditor.Recorder.RecorderEditor.NameAndPathGUI () (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/RecorderEditor.cs:104)
    UnityEditor.Recorder.RecorderEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/RecorderEditor.cs:70)
    UnityEditor.Recorder.RecorderWindow.OnRecorderSettingsGUI () (at Library/PackageCache/com.unity.recorder@2.0.2-preview.3/Editor/Sources/RecorderWindow.cs:855)
    UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:280)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     

    Attached Files:

  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    5,960
    The first thing I'd check is if you have this problem when using an actual released version of Unity instead of an alpha version.
     
  3. calvinstreeting

    calvinstreeting

    Joined:
    Jun 14, 2019
    Posts:
    9
    Ok update 2018 it all works fine.. but boy my scene fed up... so i worked back up from that via beta 2019 install and then onward to alpha again (thank god I had backups... :) ) and now the recorder works properly.. so erm.. erm..

    dont you hate it when you dont get to bottom of problem.. :) but thanks for help and also pointing out i was on alpha that was done so early on in my journey into unity i forgot
     
    Joe-Censored likes this.
  4. marief_unity

    marief_unity

    Unity Technologies

    Joined:
    Oct 9, 2018
    Posts:
    113
    Hey @calvinstreeting !

    2019.3 is indeed still in alpha, so it is even more important to use last patch version. a5 was released a while ago.

    Alpha are cool because you can access upcoming features BUT they are not finished product and are likely to contain bugs. So it is actually advised to always back-up your projects before opening an alpha (even from an alpha to another).

    Also, if you have some upcoming deadlines or can't afford instabilities, it is preferable to use official builds (2019.2 right now)

    Anyways, I just opened 2019.3.a11 and couldn't reproduce the error, so we will assume this is one of those instability bugs.

    Thanks for reporting !