Error importing gltf: mesh name exceeds 1023 characters

New to Unreal, not new to 3d.

I am importing gltf meshes built for low poly simulation in Creator, a poly modeler that uses OpenFlight. Content is UV texture mapped polygons with (in Creator parlance) groups, objects, LODs, polygons, switches.

There is an error when importing files containing switch nodes that the mesh name exceeds the maximum length.

I can guarantee this is not present in the original source, and I don’t think it is present in the gltf (I can review the gltf in blender without issues, but I have not taken a really close look there). So it seems to be something generated during the import.

Using UE 5.1.1.

I have tried splitting the problem file into pieces, and generally the first piece imports OK but never more than that.

I have also received errors trying to save after a successful import of a piece of the file:
The asset ‘/Game/Maps/Tiles/2ln_3way_16x20_01/import_sw_route/Mesh_0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117’ (Mesh_0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117.uasset) failed to save.

Cancel: Stop saving all assets and return to the editor.
Retry: Attempt to save the asset again.
Continue: Skip saving this asset only.

Here’s the most typical error message:
Assertion failed: false [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\UObject\UnrealNames.cpp] [Line: 3042] FName’s 1023 max length exceeded. Got 1029 characters excluding null-terminator: /Game/Maps/Tiles/2ln_3way_16x20_01/import/Mesh_11234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613

UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_InterchangeEngine
UnrealEditor_InterchangeEngine
UnrealEditor_InterchangeEngine
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Engine
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

What can I check to correct this issue? If I split the original file into components, one switch per file, then try importing into the level and specify the same folder for import assets, I also get a crash.

Thanks!

I would try on 5.3.2 to see how it goes, if it still fails you can send the file to us so we try to reproduce.
If you are stuck with 5.1.1 you could try to use datasmith/the old way: in plugins make sure datasmith gltf is turned on and import though this menu

Hi all, was this resolved? We have a similar error (exceed max characters). When reading the .glb file in text editor, there is no such issue.
UE5.3.2.

“black_high_gloss_plastic12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336”

It seems to be incrementing when it shouldn’t - 1,2,3,4,5… 362,363,36ERROR etc

This results in a full editor crash.