Import big obj files

Hi,
is there any posibility to import a big obj file, after I export it from Archicad the object is very big and I also can’t split it in pieces :(.

When I try to import it in engine, it crashes, also any obj bigger than 200 Mb the engine crashes.

Also my system is freezing and I can’t do anything else. Need urgent advice, maybe there is another way to transform the obj into .uasset

Hey Ion Cocarcea -

Can you try running the OBJ file through AutoCad’s FBX Converter and bringing in the resulting FBX into the Editor?

Here is a link to the converter itself: Autodesk | 3D Design, Engineering & Construction Software

It still may take awhile to bring an asset of significant size into the engine.

Thank You

Eric Ketchum

will try right now.

To add to Eric’s suggestion here. When you import are you having the mesh generate lightmap UVs (assuming you’re using 4.5 or later, this would be a check box in the import options)? If so, can you disable that option before import? There is a known issue that this will sometimes crash the editor with some imported meshes.

A file that size will also take a while to import. Depending on your system specs this can be improved but may still take a while. Our systems here are high-end and the last file size I tested that was large was 700mb and took roughly an hour to import.

Tim

1 Like

Actually I already tried that with 4.5 and 4.6 :), will see with .fbx maybe it will work

Ok, it resulted in 3Gb fbx file, :slight_smile: hope it will work.

Now it crashes right at the beginning.

Imported with 4.6

MachineId:1EF72E8346F32F306118378D11809D81
EpicAccountId:

Access violation - code c0000005 (first/second chance not available)

UE4Editor_UnrealEd + 9265506 bytes
UE4Editor_AssetTools + 847862 bytes
UE4Editor_AssetTools + 841823 bytes
UE4Editor_ContentBrowser + 1391771 bytes
UE4Editor_ContentBrowser + 1391535 bytes
UE4Editor_Slate + 1533299 bytes
UE4Editor_Slate + 1551656 bytes
UE4Editor_Slate + 1029959 bytes
UE4Editor_Slate + 1036953 bytes
UE4Editor_Slate + 1433769 bytes
UE4Editor_Slate + 2115626 bytes
UE4Editor_Slate + 2295555 bytes
UE4Editor_Slate + 432060 bytes
UE4Editor_Slate + 160583 bytes
UE4Editor_Slate + 832224 bytes
UE4Editor_Slate + 770598 bytes
UE4Editor_Core + 2484697 bytes
UE4Editor_Core + 2400747 bytes
UE4Editor_Core + 2489259 bytes
UE4Editor_Core + 2387170 bytes
user32 + 9268 bytes
user32 + 8855 bytes
UE4Editor_Core + 2490470 bytes
UE4Editor!FEngineLoop::Tick() + 3434 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:2191]
UE4Editor!GuardedMain() + 479 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launch.cpp:131]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

Maybe there is a tool that can convert from obj or fbx to uasset without oppening the editor.

There is no tool that will convert an OBJ or FBX to uasset file type.

Importing a 3GB file is kind of overkill. I’ve imported a 12 million poly mesh that was 678mb and that took an ~1 hour on my machine. 3GB would take quite a while! The engine should be able to import it fine, BUT that would be dependent upon the system being used to import it.

I am having trouble finding your Crash Report in our database.

Can you zip the log files from your project along with the folder that is created with the crash in this location: C:\Users**[Your Computer Name]**\AppData\Local\Microsoft\Windows\WER\ReportQueue

Before doing so go ahead and clear out any previous files in theses folder and reproduce the crash. This will generate fresh files and zip all these and post a link here.

When you do so, can you post a screen shot of your the import bar that is coming up when you import the mesh and get the instant crash?

ok will do that again and try, I somehow exported the meshes into smaller files like 200 mb but still one file is 1.6 Gb so will try again then will send you the log file but all that I think is that my system can’t take it when the engine imports the file it gets it into memory stream and maybe it does not have enought memory, but still it may be something when importing the files because blender and even unity is oppening it :frowning: and I really don’t want do make the project in unity it will look like a cartoon, tried in cryengine from curiosity but that one crashes right from the beginning, tomorrow will import.

Hi every one thank you all for comments and ideas. In the end I somehow splitted the model in smaller parts and it worked fine in both versions 4.5.1 and 4.6.0 preview.