KSEditor External exeption after loading fbx file

Good morning everybody!

So I've been trying to create my own track for the first time. I've only done the layout and applyed a texture but I wanted to see how the turns felt like in game. So I exported the fbx file but when I tried to open it in the KSeditor, it gave me an error: "System.Runtime.InteropServices.SEHException (0x80004005)".

Here is the full error (It's in portuguese, sorry :/ )

Consulte o fim desta mensagem para obter detalhes sobre como invocar a depuração
JIT (just-in-time) em vez desta caixa de diálogo.

************** Texto da excepção **************
System.Runtime.InteropServices.SEHException (0x80004005): O componente externo accionou uma excepção.
em Model.load(Model* , basic_string<wchar_t\,std::char_traits<wchar_t>\,std::allocator<wchar_t> >* , GraphicsManager* , IModelImporter* )
em ksNet.ksGraphics.loadFBX(String filename, UInt32& key) em i:\manu\documents\ac-source-pc\ksnet\ksnet.cpp:line 743
em ksEditor.Form1.loadFBXFile(String file, Boolean saveRecent) em i:\Manu\Documents\ac-source-pc\ksEditor\Form1.cs:line 840
em ksEditor.Form1.openFBXToolStripMenuItem_Click(Object sender, EventArgs e) em i:\Manu\Documents\ac-source-pc\ksEditor\Form1.cs:line 826
em System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
em System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
em System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
em System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
em System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
em System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
em System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
em System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
em System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
em System.Windows.Forms.Control.WndProc(Message& m)
em System.Windows.Forms.ScrollableControl.WndProc(Message& m)
em System.Windows.Forms.ToolStrip.WndProc(Message& m)
em System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assemblagens carregadas **************
mscorlib
Versão da assemblagem: 4.0.0.0
Versão Win32: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ksEditor
Versão da assemblagem: 1.0.0.0
Versão Win32: 1.0.0.0
CodeBase: file:///D:/Steam/steamapps/common/Assetto%20Corsa%20Editor/ksEditor.exe
----------------------------------------
System
Versão da assemblagem: 4.0.0.0
Versão Win32: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Versão da assemblagem: 4.0.0.0
Versão Win32: 4.8.4270.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Versão da assemblagem: 4.0.0.0
Versão Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Versão da assemblagem: 4.0.0.0
Versão Win32: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Versão da assemblagem: 4.0.0.0
Versão Win32: 4.8.4320.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Versão da assemblagem: 4.0.0.0
Versão Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ksNet
Versão da assemblagem: 1.0.5884.33843
Versão Win32:
CodeBase: file:///D:/Steam/steamapps/common/Assetto%20Corsa%20Editor/ksNet.DLL
----------------------------------------
System.Windows.Forms.resources
Versão da assemblagem: 4.0.0.0
Versão Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_pt_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Microsoft.GeneratedCode
Versão da assemblagem: 1.0.0.0
Versão Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ksMathCore
Versão da assemblagem: 1.0.0.0
Versão Win32: 1.0.0.0
CodeBase: file:///D:/Steam/steamapps/common/Assetto%20Corsa%20Editor/ksMathCore.DLL
----------------------------------------
mscorlib.resources
Versão da assemblagem: 4.0.0.0
Versão Win32: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_pt_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------

************** Depuração JIT **************
Para activar a depuração just-in-time (JIT), o ficheiro .config para esta
aplicação ou computador (machine.config) tem de ter o
valor jitDebugging definido na secção system.windows.forms.
A aplicação também tem de ser compilada com a depuração
activada.

Por exemplo:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Quando a depuração JIT está activada, qualquer excepção não processada
será enviada para o depurador JIT registado no computador
em vez de ser processada por esta caixa de diálogo.


I've seen this error in some other places, but found no fixes :/
I've been using blender and here are the layout for the objects and the export settings:

1613473630229.png
1613472577584.png




I would like to know if anyone can help with this. What have I done wrong? I can send other files needed like my fbx or blender file as well.

Thanks :)
 
Last edited:
For anybody with the same problem, by switching the fbx location from my mods folder to the downloads folder I was able to load it without the error. Hopefully it helps :)
 
Last edited:

How much money have you spend on your current simracing hardware

  • €0-150

    Votes: 92 19.0%
  • €151-500

    Votes: 128 26.4%
  • €501-1000

    Votes: 85 17.5%
  • €1001-1500

    Votes: 43 8.9%
  • €1501-3000

    Votes: 48 9.9%
  • €3001-5000

    Votes: 23 4.7%
  • €5001-10000

    Votes: 31 6.4%
  • I stopped counting a long time ago

    Votes: 35 7.2%
Top