Unreal Datasmith C4D crush import

Hi I upgraded today to unreal 5.03 and Unreal datasmith import stopped working for me

Fatal error!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000010

0x00007ffbccb6ce4a python39.dll!UnknownFunction []
0x00007ffbccbc5e4d python39.dll!UnknownFunction []
0x00007ffbad501011 _ssl.pyd!UnknownFunction []
0x00007ffb970aeee0 python39.dll!UnknownFunction []
0x00007ffb970af0fe python39.dll!UnknownFunction []
0x00007ffb970af059 python39.dll!UnknownFunction []
0x00007ffb9704ee67 python39.dll!UnknownFunction []
0x00007ffb9706ea28 python39.dll!UnknownFunction []
0x00007ffb9706e95b python39.dll!UnknownFunction []
0x00007ffb9706e880 python39.dll!UnknownFunction []
0x00007ffb97031593 python39.dll!UnknownFunction []
0x00007ffb970502a9 python39.dll!UnknownFunction []
0x00007ffb9702a16e python39.dll!UnknownFunction []
0x00007ffb9702ecc6 python39.dll!UnknownFunction []
0x00007ffb9702ca03 python39.dll!UnknownFunction []
0x00007ffb9702d006 python39.dll!UnknownFunction []
0x00007ffb9702d006 python39.dll!UnknownFunction []
0x00007ffb9702d006 python39.dll!UnknownFunction []
0x00007ffb9702a08a python39.dll!UnknownFunction []
0x00007ffb9704502d python39.dll!UnknownFunction []
0x00007ffb97044a0b python39.dll!UnknownFunction []
0x00007ffb970670cc python39.dll!UnknownFunction []
0x00007ffb97066ea3 python39.dll!UnknownFunction []
0x00007ffb9705a369 python39.dll!UnknownFunction []
0x00007ffb9708b092 python39.dll!UnknownFunction []
0x00007ffb97033d26 python39.dll!UnknownFunction []
0x00007ffb970502a9 python39.dll!UnknownFunction []
0x00007ffb9708c93d python39.dll!UnknownFunction []
0x00007ffb97066ca7 python39.dll!UnknownFunction []
0x00007ffb97066c05 python39.dll!UnknownFunction []
0x00007ffb97066ade python39.dll!UnknownFunction []
0x00007ffb970669df python39.dll!UnknownFunction []
0x00007ffb9704ee67 python39.dll!UnknownFunction []
0x00007ffb9706ea28 python39.dll!UnknownFunction []
0x00007ffb9706e95b python39.dll!UnknownFunction []
0x00007ffb9706e880 python39.dll!UnknownFunction []
0x00007ffb97031593 python39.dll!UnknownFunction []
0x00007ffb970502a9 python39.dll!UnknownFunction []
0x00007ffb9702a16e python39.dll!UnknownFunction []
0x00007ffb9702ecc6 python39.dll!UnknownFunction []
0x00007ffb9702ca03 python39.dll!UnknownFunction []
0x00007ffb9702d006 python39.dll!UnknownFunction []
0x00007ffb9702d006 python39.dll!UnknownFunction []
0x00007ffb9702a08a python39.dll!UnknownFunction []
0x00007ffb9704502d python39.dll!UnknownFunction []
0x00007ffb97044a0b python39.dll!UnknownFunction []
0x00007ffb970670cc python39.dll!UnknownFunction []
0x00007ffb97066ea3 python39.dll!UnknownFunction []
0x00007ffb9705a369 python39.dll!UnknownFunction []
0x00007ffb9708b092 python39.dll!UnknownFunction []
0x00007ffb97033d26 python39.dll!UnknownFunction []
0x00007ffb970502a9 python39.dll!UnknownFunction []
0x00007ffb9708c93d python39.dll!UnknownFunction []
0x00007ffb97066ca7 python39.dll!UnknownFunction []
0x00007ffb97066c05 python39.dll!UnknownFunction []
0x00007ffb97066ade python39.dll!UnknownFunction []
0x00007ffb970669df python39.dll!UnknownFunction []
0x00007ffb9704ee67 python39.dll!UnknownFunction []
0x00007ffb9706ea28 python39.dll!UnknownFunction []
0x00007ffb9706e95b python39.dll!UnknownFunction []
0x00007ffb9706e880 python39.dll!UnknownFunction []
0x00007ffb97031593 python39.dll!UnknownFunction []
0x00007ffb970502a9 python39.dll!UnknownFunction []
0x00007ffb9702a16e python39.dll!UnknownFunction []
0x00007ffb9702ecc6 python39.dll!UnknownFunction []
0x00007ffb9702ca03 python39.dll!UnknownFunction []
0x00007ffb9702d006 python39.dll!UnknownFunction []
0x00007ffb9702d006 python39.dll!UnknownFunction []
0x00007ffb9702a08a python39.dll!UnknownFunction []
0x00007ffb9704502d python39.dll!UnknownFunction []
0x00007ffb97044a0b python39.dll!UnknownFunction []
0x00007ffb970670cc python39.dll!UnknownFunction []
0x00007ffb97066ea3 python39.dll!UnknownFunction []
0x00007ffb9705a369 python39.dll!UnknownFunction []
0x00007ffb970ed911 python39.dll!UnknownFunction []
0x00007ffb97021dae python39.dll!UnknownFunction []
0x00007ffb9701def9 python39.dll!UnknownFunction []
0x00007ffb9704506a python39.dll!UnknownFunction []
0x00007ffb97044d8c python39.dll!UnknownFunction []
0x00007ffb97044cb2 python39.dll!UnknownFunction []
0x00007ffb97044b39 python39.dll!UnknownFunction []
0x00007ffb970bc65f python39.dll!UnknownFunction []
0x00007ffb98a46be5 pythonvm.module.xdl64!UnknownFunction []
0x00007ffb98a20f4f pythonvm.module.xdl64!UnknownFunction []
0x00007ffb98a1ecd3 pythonvm.module.xdl64!UnknownFunction []
0x00007ffb822698e4 python.xdl64!UnknownFunction []
0x00007ffb822705fc python.xdl64!UnknownFunction []
0x00007ffbaf9421e9 cineware.dll!UnknownFunction []
0x00007ffbaf94798b cineware.dll!UnknownFunction []
0x00007ffbaf94509d cineware.dll!UnknownFunction []
0x00007ffbaf944eaa cineware.dll!UnknownFunction []
0x00007ffbaf4d1fb7 cineware.dll!UnknownFunction []
0x00007ffbb4e4800b UnrealEditor-DatasmithC4DDynamicImporter.dll!UnknownFunction []
0x00007ffbb4f9e45c UnrealEditor-DatasmithC4DTranslator.dll!UnknownFunction []
0x00007ffbb7a83ec8 UnrealEditor-DatasmithExternalSource.dll!UnknownFunction []
0x00007ffbb7b786ce UnrealEditor-ExternalSource.dll!UnknownFunction []
0x00007ffbb7b79fc5 UnrealEditor-ExternalSource.dll!UnknownFunction []
0x00007ffbb702b38f UnrealEditor-DatasmithImporter.dll!UnknownFunction []
0x00007ffbb704e322 UnrealEditor-DatasmithImporter.dll!UnknownFunction []
0x00007ffbb704a8eb UnrealEditor-DatasmithImporter.dll!UnknownFunction []

Sometimes freezes at 70 percent, with task manager status: not responding

LoginId:7aef035042af248e1b55c6a330684d91
EpicAccountId:cff5c1c73f8c441b98cf5236a4c61d3a

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 221] Ran out of memory allocating 108714432 bytes with alignment 8. Last error msg: Файл подкачки слишком мал для завершения операции..

UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_DatasmithCore
UnrealEditor_DatasmithCore
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DTranslator
UnrealEditor_DatasmithExternalSource
UnrealEditor_ExternalSource
UnrealEditor_ExternalSource
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll


frieze 60

Are you able to share the C4D file with us?
If yes, please give me a link in private.

Unfortunately the file is private, my friend the import is fine, the problem is not in the file

now it just hangs at this stage

I successfully imported 4 different C4D today.

Do you have cineware installed on your machine?
Did you previously replace the DatasmithC4DDynamicImporter.dll with the one from Maxon?

Does your friend has cineware on his/her machine?

I downloaded 4.26 and uploaded the file there, it took 5 seconds to upload everything works fine. cineware installed. The problem started on 5.03, everything was fine on 5.02

I understand it is a new issue on 5.0.3 but I cannot replicate at office.
I am trying to understand better your os environment. Did you replace the dll as they say on their website? (not that you should do it)

i did it but it didn’t work

Hi @zpghost @UE_FlavienP,

The error is from python 3.9 not containing the function it would appear to be coming from the ssl.pyd which has changed.

ssl — TLS/SSL wrapper for socket objects — Python 3.10.5 documentation

Changed in version 3.6: OpenSSL 0.9.8, 1.0.0 and 1.0.1 are deprecated and no longer supported. In the future the ssl module will require at least OpenSSL 1.0.2 or 1.1.0.

I don’t have python loaded and when I go into Windows Powershell and type python it offers to load python 3.10 from the Microsoft Store.
I wonder if an older version of python is installed causing the error.

Just for the moment could you uninstall python version on you PC and try again because all the exceptions and errors in your log are python SSL errors

I didn’t have python installed, I installed it, it showed up in windows cmd. But the installation did not help in any way to solve the problem, I installed 3.10.5

Can you all check if the answer from AKnauerMaxon posted here solved your issues.

I wrote this line to a file, it didn’t help. I deleted and reloaded unreal, and now when I load cineware it overloads all RAM and crashes:

g_moduleNegatives=teamrender;onlineupdater;spacemouse;usd;usd.module;dwg;cadexchangeconfig;cadexchange;i_skp;pythonvm.module;pythonconfig.module;python
LoginId:7aef035042af248e1b55c6a330684d91
EpicAccountId:cff5c1c73f8c441b98cf5236a4c61d3a

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 221] Ran out of memory allocating 108714432 bytes with alignment 8. Last error msg: Файл подкачки слишком мал для завершения операции..

UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_DatasmithCore
UnrealEditor_DatasmithCore
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DDynamicImporter
UnrealEditor_DatasmithC4DTranslator
UnrealEditor_DatasmithExternalSource
UnrealEditor_ExternalSource
UnrealEditor_ExternalSource
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

Hello Zpghost,

I would suggest that you install R25.120 to be 100% sure.
We have not seen this kind of crash before.
Could you open that scene in Cinema and report that bug with “CWUE5” in the subject?
Your C4D file will be treated confidentially.

Thank you!

ok, I’ll try to install this version, the problem is not in the c4d file, there is a scene with a small number of polygons, it can’t load all the c4d files, I just downloaded unreal 4.26 and ported c4d there and then I throw the project files into 5 and everything works, but it’s all not comfortable

The Datasmith plugin in UE5 needs Cinema R25.120, specifically cineware.dll and its config files which are installed with Cinema.
You could also try out the CinewareAsset plugin, it allows reimports with changed parameters exposed as takes:
Maxon - Unreal Integration

I downloaded this version of cinema 4d, nothing has changed, it still overloads memory and crashes
Is it possible to return to version 5.0.2?

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 221] 
Ran out of memory allocating 1114112 bytes with alignment 0. Last error msg: Файл подкачки слишком мал для завершения операции..
0x00007ff7d1339254 CrashReportClientEditor.exe!DispatchCheckVerify<void,<lambda_aa0a0995998fe4e04426bce07896be54>,FLogCategoryLogMemory,wchar_t [79],unsigned __int64,unsigned int,wchar_t [256]>() []
0x00007ff7d07bd522 CrashReportClientEditor.exe!<lambda_5f9564ecfeedd5709035db9c61de9120>::operator()() []
0x00007ff7d07ca373 CrashReportClientEditor.exe!FGenericPlatformMemory::OnOutOfMemory() []
0x00007ff7d07f1c9f CrashReportClientEditor.exe!FMallocMimalloc::OutOfMemory() []
0x00007ff7d07f0eef CrashReportClientEditor.exe!FMallocMimalloc::Malloc() []
0x00007ff7d0889429 CrashReportClientEditor.exe!FMemStackBase::AllocateNewChunk() []
0x00007ff7d0ad964c CrashReportClientEditor.exe!operator new[]() []
0x00007ff7d0ada336 CrashReportClientEditor.exe!FWindowsPlatformStackWalkExt::GetCallstacks() []
0x00007ff7d0ad9ee9 CrashReportClientEditor.exe!FCrashDebugHelperWindows::CreateMinidumpDiagnosticReport() []
0x00007ff7d0ae3ead CrashReportClientEditor.exe!FWindowsErrorReport::DiagnoseReport() []
0x00007ff7d05e39a0 CrashReportClientEditor.exe!FAsyncTask<FDiagnoseReportWorker>::DoWork() []
0x00007ff7d05d9bde CrashReportClientEditor.exe!FAsyncTask<FDiagnoseReportWorker>::Abandon() []
0x00007ff7d05d88c9 CrashReportClientEditor.exe!<lambda_925f6c2453012060ddab4eb171196a20>::operator()() []
0x00007ff7d05db3be CrashReportClientEditor.exe!LowLevelTasks::TTaskDelegate<void __cdecl(bool),48>::TTaskDelegateImpl<<lambda_925f6c2453012060ddab4eb171196a20>,0>::CallAndMove() []
0x00007ff7d079ace6 CrashReportClientEditor.exe!LowLevelTasks::FTask::ExecuteTask() []
0x00007ff7d07939d4 CrashReportClientEditor.exe!LowLevelTasks::FScheduler::TryExecuteTaskFrom<&LowLevelTasks::TLocalQueueRegistry<1024>::TLocalQueue::DequeueGlobal,0>() []
0x00007ff7d07aaa5c CrashReportClientEditor.exe!LowLevelTasks::FScheduler::WorkerMain() []
0x00007ff7d0797890 CrashReportClientEditor.exe!UE::Core::Private::Function::TFunctionRefCaller<<lambda_892e53049f9e233319cab0824a4e0c55>,void __cdecl(void)>::Call() []
0x00007ff7d07f6955 CrashReportClientEditor.exe!FThreadImpl::Run() []
0x00007ff7d08d6e17 CrashReportClientEditor.exe!FRunnableThreadWin::Run() []
0x00007ff7d08d2771 CrashReportClientEditor.exe!FRunnableThreadWin::GuardedRun() []
0x00007ffc088c7034 KERNEL32.DLL!UnknownFunction []
0x00007ffc08d62651 ntdll.dll!UnknownFunction []

in the error window shows that the small amount of swap file, I increased the swap file to 50gb ssd , the memory was fully loaded for about 5 minutes, the “unreal datasmith”
image
window appeared, but in the end the error still came up with a shortage of swap file, I write through a translator and maybe i misspelled the term, maybe it’s called virtual memory

LoginId:7aef035042af248e1b55c6a330684d91
EpicAccountId:cff5c1c73f8c441b98cf5236a4c61d3a

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 221] Ran out of memory allocating 267162352 bytes with alignment 4. Last error msg: Файл подкачки слишком мал для завершения операции..

UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_MovieScene
UnrealEditor_MovieScene
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_DatasmithImporter
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll