3Ds Max 2021/2022 + windows 10 + Babylon export crash

HI all.
I have a problem with windows 10 (latest version clean install on new ssd) + 3Ds Max 2021 and 2022 + Babylonjs exporter

  1. when i try change path in multifile table i got net. framework error.

************** Exception Text **************

System.ArgumentException: The path is not of a legal form.

at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.InternalGetDirectoryName(String path)
at Max2Babylon.MultiExportForm.<>c__DisplayClass22_0.b__0(DataGridViewCell selectedCell, String forcedFileName)
at Max2Babylon.MultiExportForm.ShowTexturesFolderDialog(List`1 pathCells)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************

  1. when i try export with multifile export crash 3ds max almost immediately without errors in max report file.

Tested on simple box without materials and with all unchecked properties in exporter. Only when i turn on export “only selected” checkbox files start export and max not crash but because i dont select nothing no meshes in export. I think problems with net framework but i can`t install 4.8 latest because i have this lib in system by default.

I migrate from win 7 because i need latest khr extensions and find only one program with full list of this extensions - gestaltor and this program work only on win 10. I see gltf_transform but i need visual editor. its easest for my purposes path. on win 7 max 2021 exporter works good in multifile mode.

Please help me with exporter))

cc @Guillaume_Pelletier

1 Like

1 - seems there is few issues into the Form. I will conduct some test to see where they are located.
2 - you can NOT run the exporter with Max 2022 without Net 4.8 installed. This is an Autodesk requirement.

Hi. But in win 10 net 4.8 installed by default. And exporter works fine. Dont work only miltifile export. Maybe i can give you some logs from my system?

Do not worry, I reproduced the issue, then i will take care of it.
Thank’s for your help.