UE4.27 Crash Occuring on Skeletal Mesh Importing Fine Until Addition of Hair Cards

Hey thanks for stopping by,

I’ve hit a roadblock with an import problem into my unreal project. I have a skeletal mesh of my main character (an ape). Until recently it has just had a plain hair material applied to the mesh, however I am looking to improve the way it looks so I’ve added some simple hair cards (planes with simple hair texture) over the whole body.

Until just recently I’ve been able to reimport the main character into UE without issue. I did a revision of the hair cards and adjusted to reduce the poly count (~60k verticies, down from ~110k), weight painted and assigned materials as bfore, however I am no longer able to reimport the character without encountering the below error.

I have made no changes to the skeleton, have tried many combinations of export settings in Blender, and import settings in Unreal with out much luck.

I have passed the file onto my friends with more powerful computers, and they also encounter the same crash, so I think I can rule out hardware (and it is unusual that this is occurring after simplfying the mesh).

I would really love some help, as this is becoming a real pain point in finishing the video game project I have been working on for almost 3 years.

I can DM FBX and blend file.

Thanks Guys!

LoginId:7921282546ff9e63c69330ac14b26cb9
EpicAccountId:0e91e654752e4e5daa1f603e44931ed6

Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMemory.cpp] [Line: 197] Ran out of memory allocating 23068226480 bytes with alignment 0

UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_MeshUtilities
UE4Editor_MeshUtilities
UE4Editor_MeshUtilities
UE4Editor_MeshUtilities
UE4Editor_MeshUtilities
UE4Editor_MeshUtilities
UE4Editor_MeshBuilder
UE4Editor_MeshBuilder
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_AssetTools
UE4Editor_AssetTools
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll

Hi @Edanson
Let’s see…
You’re experiencing a memory allocation problem when reimporting your revised skeletal mesh with hair cards into Unreal Engine. The following is a summary of steps to troubleshoot:

Blender Export Settings:

Verify scale is correct and transformations are applied (Ctrl+A > Apply All).
Verify mesh integrity and remove unnecessary geometry.
Material and Texture Checks:

Verify correct material slots and texture references on body and hair cards.
FBX File Integrity:

Open the FBX in a text editor to look for abnormalities.
Test importing just the skeletal mesh without hair cards.
Optimize Hair Cards:

Further reduce poly count or consider using static meshes for hair.
Unreal Import Settings:

Check the scale, geometry, and skeletal mesh import settings to avoid importing unnecessary elements.
UE4 Editor Settings:

Increase virtual memory/pagefile size to handle large imports.
Ensure you’re not running out of RAM during the process.
Crash Log and Profiler:

Check crash logs for overall memory usage issues.
Use Unreal’s profiler to monitor memory usage.
Test with Previous Version:

Compare the current and previous FBX versions to determine changes that are causing the issue.
Consider Splitting Meshes:

Import hair as individual static meshes instead of them being part of the skeletal mesh.