Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UniGLTF flashes the export screen and ArguementException & ArgumentNullException #2319

Open
byeoon opened this issue Jun 11, 2024 · 1 comment
Labels
bug Something isn't working editor
Milestone

Comments

@byeoon
Copy link

byeoon commented Jun 11, 2024

Environments (please complete the following information):

  • UniVRM version: 0.122.0 & 1.0?
  • Unity version: Unity-2022.3.6f1
  • OS: Windows 11

Describe the bug

When I try to export my avi as a glTF file as well, the window decides to have a seizure and spam my console with errors.

  • ConsoleLog
ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at <4397ca26b8a24183a25a95ffae967e39>:0)
UnityEngine.GUILayoutUtility.DoGetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <4397ca26b8a24183a25a95ffae967e39>:0)
UnityEngine.GUILayoutUtility.GetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <4397ca26b8a24183a25a95ffae967e39>:0)
UnityEditor.EditorGUILayout.GetControlRect (System.Boolean hasLabel, System.Single height, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEditor.EditorGUILayout.EnumPopup (System.String label, System.Enum selected, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEditor.EditorGUILayout.EnumPopup (System.String label, System.Enum selected, UnityEngine.GUILayoutOption[] options) (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UniGLTF.M17N.LanguageGetter.OnGuiSelectLang () (at Assets/UniGLTF/Editor/UniGLTF/ExportDialog/M17N.cs:118)
UniGLTF.ExportDialogBase.BeginGUI () (at Assets/UniGLTF/Editor/UniGLTF/ExportDialog/ExportDialogBase.cs:110)
UniGLTF.ExportDialogBase.OnGUI () (at Assets/UniGLTF/Editor/UniGLTF/ExportDialog/ExportDialogBase.cs:80)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEditor.DockArea.OldOnGUI () (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <4397ca26b8a24183a25a95ffae967e39>:0)
  • ScreenShot

image
Unity_ehkXIc5yTf

  • Reproduction procedure
    Again I have no idea how to reproduce this.
@byeoon byeoon added the bug Something isn't working label Jun 11, 2024
@ousttrue
Copy link
Contributor

TODO:

imgui layout issue.

https://tech.cygames.co.jp/archives/2565/

@ousttrue ousttrue added this to the v0.124 milestone Jun 14, 2024
@ousttrue ousttrue modified the milestones: v0.124, v0.999 Jun 14, 2024
ousttrue added a commit to ousttrue/UniVRM that referenced this issue Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor
Projects
None yet
Development

No branches or pull requests

2 participants