gdkchan / Ohana3DS-Rebirth

WIP new version of Ohana3DS in C#.
176 stars 40 forks source link

Sun Moon Dae Export Error #47

Open trainboy2019 opened 7 years ago

trainboy2019 commented 7 years ago

On building models in Pokemon Sun and Moon, when exporting as a dae, I get this error.

`See

the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.ThrowHelper.ThrowArgumentOutOfRangeException() at System.Collections.Generic.List`1.get_Item(Int32 index) at Ohana3DS_Rebirth.Ohana.Models.GenericFormats.DAE.export(OModelGroup model, String fileName, Int32 modelIndex, Int32 skeletalAnimationIndex) in \Mac\Home\Downloads\Ohana3DS-Rebirth-master-5\Ohana3DS Rebirth\Ohana\Models\GenericFormats\DAE.cs:line 974 at Ohana3DS_Rebirth.GUI.Forms.OModelExportForm.ok() in \Mac\Home\Downloads\Ohana3DS-Rebirth-master-5\Ohana3DS Rebirth\GUI\Forms\OModelExportForm.cs:line 102 at Ohana3DS_Rebirth.GUI.Forms.OModelExportForm.BtnOk_Click(Object sender, EventArgs e) in \Mac\Home\Downloads\Ohana3DS-Rebirth-master-5\Ohana3DS Rebirth\GUI\Forms\OModelExportForm.cs:line 55 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies ** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

Ohana3DS Rebirth Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file://Mac/Home/Downloads/Ohana3DS-Rebirth-master-5/Ohana3DS%20Rebirth/bin/x86/Debug/Ohana3DS%20Rebirth.exe

System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8015 (FX35W81RTMGDR.050727-8000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8686 (QFE.050727-8600) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8019 (FX35W81RTMGDR.050727-8000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8007 (FX35W81RTMGDR.050727-8000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8018 (FX35W81RTMGDR.050727-8000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.7903 built by: Win9Rel CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll

Microsoft.DirectX Assembly Version: 1.0.2902.0 Win32 Version: 5.04.00.2904 CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll

Microsoft.DirectX.Direct3D Assembly Version: 1.0.2902.0 Win32 Version: 9.05.132.0000 CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll

Microsoft.DirectX.Direct3DX Assembly Version: 1.0.2909.0 Win32 Version: 9.10.455.0000 CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2909.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll

Microsoft.VisualC Assembly Version: 8.0.0.0 Win32 Version: 8.00.50727.8428 CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. `