Datasmith exporter 5.3 causes crash 3DSMax 2024

2 Likes

I have the same issue. I installed Datasmith for Max2023 (english language) where i have a lot of plugins. Max crashes instantly after opening up. So I installed Max2024 with Datasmith plugin only but it is the same issue. I have Max installed on C while UE5 is on another hardisk.
MaxInstallDatasmith.log (3.7 MB)

After installing the Datasmith plugin, 3DsMax 2024 crashes. I tried the method described here.
3DsMax works. I checked how Datasmith works on Twinmotion.
Live Link is not working. The link folder contains only textures without the 3D files themselves.
The scene is exported, but when imported into Twinmotion it works strangely:

  1. If I choose a project hierarchy, most of the materials are swapped.
  2. If I choose to combine by materials, then they are assigned correctly.
  3. In both cases, the basic parameters of the materials are not transferred and you need to manually configure them

I share your problem, both in max23 and 24,

same problem - max2020 and 2022

Yeah, this issue has been known since the preview. Why was this not fixed? I haven’t been able to do anything with Unreal for months now, because I’m not downgrading from Max 2024.

3 Likes

I am encountering the identical issue where 3ds max crashes upon launching following the installation of datasmith 5.3. Despite attempting to reset preferences, the problem persists and the only solution is to remove the plugin to access 3ds max.

For those of you that have Max crashing after installation of 3dsMax Datasmith exporter 5.3

Do you have the folder in “C:/ProgramData/Epic/Exporter/3dsMaxEngine” and its “Binaries” subfolder?
You will have to temporarily reinstall the exporter to see if that folder is created or not.

image

Can you also check what you have for the “HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\EpicGames\Unreal Engine\3dsMaxEngineDir” key in the registry

1 Like

Yes, I reinstall it and the folder is created

Reinstalled. Folder is present. 3ds max started but closed.

image

1 Like

thank you @hardway and @Immortall196
Do you have the "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\EpicGames\Unreal Engine\3dsMaxEngineDir " key with the good value in registry

And to confirm it is the same errors than others, if you look into the log file %LOCALAPPDATA%\UnrealDatasmithExporter\Saved\Logs\UnrealDatasmithExporter.log
you have that stack trace?:

LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Assertion failed: ForeignEngineDir == FGenericPlatformMisc::EngineDir() [File:C:\ue\ue5main\Engine\Source\Developer\Datasmith\DatasmithExporter\Private\DatasmithExporterManager.cpp] [Line: 241] 
LogWindows: Error: 
LogWindows: Error: [Callstack] 0x00007ff82e6282a8 DatasmithMax2024.gup!FDatasmithLogger::ResetTextureErrors() []
LogWindows: Error: [Callstack] 0x00007ff82d4247ae DatasmithMax2024.gup!FWindowsPlatformProcess::ResolveNetworkPath() []
LogWindows: Error: [Callstack] 0x00007ff82d41ba97 DatasmithMax2024.gup!FWindowsPlatformTime::GetThreadCPUTime() []
LogWindows: Error: [Callstack] 0x00007ffa28e87344 KERNEL32.dll!BaseThreadInitThunk() []
LogWindows: Error: [Callstack] 0x00007ffa2ad426b1 ntdll.dll!RtlUserThreadStart() []

Registry key:

Error message:

LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Assertion failed: ForeignEngineDir == FGenericPlatformMisc::EngineDir() [File:D:\build\++UE5\Sync\Engine\Source\Developer\Datasmith\DatasmithExporter\Private\DatasmithExporterManager.cpp] [Line: 245] 
LogWindows: Error: 
LogWindows: Error: [Callstack] 0x00007ffbc02c712d DatasmithMax2022.gup!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ffbbf13dace DatasmithMax2022.gup!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ffbbf131df7 DatasmithMax2022.gup!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ffd12277344 KERNEL32.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ffd128426b1 ntdll.dll!UnknownFunction []
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 
LogExit: Executing StaticShutdownAfterError
LogWindows: FPlatformMisc::RequestExit(1, WindowsErrorOutputDevice::Serialize.!GIsGuarded)
LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3, WindowsErrorOutputDevice::Serialize.!GIsGuarded)
LogCore: Engine exit requested (reason: Win RequestExit)

Unreal Engine Installed into C:\UE\UE_5.3

LogTextLocalizationManager: No localization for '' exists, so 'en' will be used for the language.
LogTextLocalizationManager: No localization for '' exists, so 'en' will be used for the locale.
LogInit: Using OS detected language ().
LogInit: Using OS detected locale ().
LogTextLocalizationManager: No localization for '' exists, so 'en' will be used for the language.
LogTextLocalizationManager: No localization for '' exists, so 'en' will be used for the locale.
LogWindows: Error: appError called: Assertion failed: ForeignEngineDir == FGenericPlatformMisc::EngineDir() [File:D:\build\++UE5\Sync\Engine\Source\Developer\Datasmith\DatasmithExporter\Private\DatasmithExporterManager.cpp] [Line: 245] 


LogWindows: Windows GetLastError: The operation was completed successfully. (0)
LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Assertion failed: ForeignEngineDir == FGenericPlatformMisc::EngineDir() [File:D:\build\++UE5\Sync\Engine\Source\Developer\Datasmith\DatasmithExporter\Private\DatasmithExporterManager.cpp] [Line: 245] 
LogWindows: Error: 
LogWindows: Error: [Callstack] 0x00007ff87005712d DatasmithMax2024.gup!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff86eecdace DatasmithMax2024.gup!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff86eec1df7 DatasmithMax2024.gup!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff93875257d KERNEL32.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff93aa0aa68 ntdll.dll!UnknownFunction []
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 
LogExit: Executing StaticShutdownAfterError
LogWindows: FPlatformMisc::RequestExit(1, WindowsErrorOutputDevice::Serialize.!GIsGuarded)
LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3, WindowsErrorOutputDevice::Serialize.!GIsGuarded)
LogCore: Engine exit requested (reason: Win RequestExit)```

Thank you both, will circle back with dev and QA.

@hardway @Immortall196
would you also let us know your windows version? just in case?

Windows 11 Pro 22H2 Build 22621.2283

Windows 10 Pro 22H2 19045.3448

Thank you !

@hardway @Immortall196 , can I ask another question:
Do you have a [MAX_INSTALL_DIR]/../../../Engine/Binaries folder?

For example, if like me you install Max on the default path “C:\Program Files\Autodesk\3ds Max 202X” then do you have a “C:/Engine/Binaries” folder?

“C:/Engine/Binaries” This path does not exist.

@PhellipeHonorato
And your max installation folder is “C:\Program Files\Autodesk\3ds Max 202X” ?
And you have the same error if you look into %LOCALAPPDATA%\UnrealDatasmithExporter\Saved\Logs\UnrealDatasmithExporter.log

LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Assertion failed: ForeignEngineDir == FGenericPlatformMisc::EngineDir() [File:C:\ue\ue5main\Engine\Source\Developer\Datasmith\DatasmithExporter\Private\DatasmithExporterManager.cpp] [Line: 241] 
LogWindows: Error: 
LogWindows: Error: [Callstack] 0x00007ff82e6282a8 DatasmithMax2024.gup!FDatasmithLogger::ResetTextureErrors() []
LogWindows: Error: [Callstack] 0x00007ff82d4247ae DatasmithMax2024.gup!FWindowsPlatformProcess::ResolveNetworkPath() []
LogWindows: Error: [Callstack] 0x00007ff82d41ba97 DatasmithMax2024.gup!FWindowsPlatformTime::GetThreadCPUTime() []
LogWindows: Error: [Callstack] 0x00007ffa28e87344 KERNEL32.dll!BaseThreadInitThunk() []
LogWindows: Error: [Callstack] 0x00007ffa2ad426b1 ntdll.dll!RtlUserThreadStart() []

Just to make sure we are not mixing different errors.