UE5.0.3 C4D25 C4D2023 Datasmith Import

Hello guys,

every time i try to import any bigger (meaning more complex) scene into UE5 i get the same error. I tried all C4D versions, all importing options, only import geometry, everything gets the same result. It starts the import then i get this error at 1%.

Failed to import ‘file://C:/Users/*/OneDrive/VIZUALIZACE/Projekty//Kavárna /Kavárna.c4d’. Failed to create asset ‘Kavarna’.
Please see Output Log for details.

The output log writes this

LogSlate: Window ‘Choose Location for importing the Datasmith content’ being destroyed
LogSlate: Window ‘Datasmith Import Options’ being destroyed
LogDatasmithC4DImport: Error: Cannot open file ‘C:/Users//OneDrive/ VIZUALIZACE/Projekty//Kavárna/Kavárna.c4d’
LogDatasmithFileExternalSource: Warning: Datasmith import error: Scene translation failure. Abort import.
LogDatasmithImport: Warning: Datasmith import error: Scene translation failure. Abort import.
LogSlate: Window ‘Message’ being destroyed
Message dialog closed, result: Ok, title: Message, text: Failed to import ‘file://C:/Users//OneDrive/VIZUALIZACE/Projekty//Kavárna /Kavárna.c4d’. Failed to create asset ‘Kavarna’.
Please see Output Log for details.
LogDatasmithImport: Warning: Failed to import ‘file://C:/Users//OneDrive/VIZUALIZACE/Projekty//Kavárna/Kavárna.c4d’. Failed to create asset ‘Kavarna’.
Please see Output Log for details.

Hi @CastorTroyCZ this link is over 25 characters limit long in fact over 64 characters.
I assume you have removed your user name which would add further characters.

There is also a problem using OneDrive as this is calling remote networks causing network time-outs as well, and hence the message.

To make this run use the default
“C:\Users\Owner\Doc\UnrealProjects\Data” for the data, file add a directory, and place the file “Kavárna.c4d” in that directory.

On this, the path “\Doc\UnrealProjects\Data” is 25 characters.
The intermediate file names can be over 200 characters long as they represent unique parts of the import

This was because UE3 and UE4, hard code this restriction in an ancient Windows XP, that it cannot be changed.

Hello Jim,

thank you very much for quick answer. I tried your solution but get the same error.

Failed to import ‘file://C:/Users/James/Documents/Unreal Projects/Kavárna_vinice.c4d’. Failed to create asset ‘Kavarna_vinice’.
Please see Output Log for details.

LogSlate: Window ‘Choose Location for importing the Datasmith content’ being destroyed
LogSlate: Window ‘Datasmith Import Options’ being destroyed
LogDatasmithC4DImport: Error: Cannot open file ‘C:/Users/James/Documents/Unreal Projects/Kavárna_vinice.c4d’
LogDatasmithFileExternalSource: Warning: Datasmith import error: Scene translation failure. Abort import.
LogDatasmithImport: Warning: Datasmith import error: Scene translation failure. Abort import.
LogSlate: Window ‘Message’ being destroyed
Message dialog closed, result: Ok, title: Message, text: Failed to import ‘file://C:/Users/James/Documents/Unreal Projects/Kavárna_vinice.c4d’. Failed to create asset ‘Kavarna_vinice’.
Please see Output Log for details.
LogDatasmithImport: Warning: Failed to import ‘file://C:/Users/James/Documents/Unreal Projects/Kavárna_vinice.c4d’. Failed to create asset ‘Kavarna_vinice’.
Please see Output Log for details.

I dont think that file name lenght is the problem here, because if i try to import other files from the same floder it works. For example. I have a c4d file with only one object in it and that object is a painting, then it imports fine, but when i try to import whole bedroom or coffee bar or kitchen, then i start to get this error. Importing simple cabinets or single sink is ok, complex scenes get errors.

I would like to start learning making ARCHVIZ in UE5 to potentionaly add it in my profesional roster but without whole scene import it would technically double my workload.

Thx again for any suggestions :slight_smile:

Have you tried removing the special character from “Kavárna” and making it Karvana?