Hi!
I am looking to find a solution to a frequent crash that is plaguing my project in UE5.
I narrowed it down to an issue with Groom.
note: since I couldn’t find a Groom topic section in the forum I decided to post this question in general. please feel free to redirect me to the appropriate section of the forum if I missed it.
So the crash happens very consistently in 2 ways: when adding a groom binding asset to a blueprint, and while playing in the editor if I look away from the character with the groom and then look back at them.
The character blueprint has 2 grooms, one for the hair (which has more curves and more children) and one for the beard. They both attach through two different binding assets to the SK_Head.
Surprisingly the Hair groom works just fine and it never gave me any problems. But when I tried to add the beard it instantly crashes.
The crash report clearly indicates that my GPU hitches before crashing the engine.
CRASH REPORT:
Fatal error: [File:D:/build/++UE5/Sync/Engine/Source/Runtime/Windows/D3D11RHI/Private/D3D11Util.cpp] [Line: 179] Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - ‘HUNG’)
UnrealEditor_D3D11RHI
UnrealEditor_D3D11RHI
UnrealEditor_D3D11RHI
UnrealEditor_D3D11RHI
UnrealEditor_D3D11RHI
UnrealEditor_RHI
UnrealEditor
UnrealEditor
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll
LOG:
[2021.10.06-20.20.44:388][ 0]LogStall: Startup...
[2021.10.06-20.20.44:390][ 0]LogStall: Startup complete.
[2021.10.06-20.20.44:399][ 0]LogNativeClassHierarchy: Verbose: Native class hierarchy updated for 'HierarchicalLODOutliner' in 0.0002 seconds. Added 0 classes and 0 folders.
[2021.10.06-20.20.44:401][ 0]LogLoad: (Engine Initialization) Total time: 9.60 seconds
[2021.10.06-20.20.44:401][ 0]LogLoad: (Engine Initialization) Total Blueprint compile time: 0.00 seconds
[2021.10.06-20.20.44:509][ 0]LogAssetRegistry: Asset discovery search completed in 7.1389 seconds
[2021.10.06-20.20.44:510][ 0]LogCollectionManager: Fixed up redirectors for 0 collections in 0.000004 seconds (updated 0 objects)
[2021.10.06-20.20.44:511][ 0]LogContentStreaming: Texture pool size now 1000 MB
[2021.10.06-20.20.47:452][161]LogSlate: Window 'Project Settings' being destroyed
[2021.10.06-20.20.47:457][161]LogSlate: Window 'Project Settings' being destroyed
[2021.10.06-20.21.09:537][733]LogAssetEditorSubsystem: Opening Asset editor for Blueprint /Game/Blueprints/Test_for_rpg/BP_EV_Customizable.BP_EV_Customizable
[2021.10.06-20.21.09:737][733]LogNativeClassHierarchy: Verbose: Native class hierarchy updated for 'BlueprintGraph' in 0.0004 seconds. Added 127 classes and 0 folders.
[2021.10.06-20.21.10:368][733]LogStaticMesh: StaticMesh /Engine/EditorMeshes/PhAT_FloorBox.PhAT_FloorBox should be resaved to improve async compilation performance.
[2021.10.06-20.21.10:418][733]LogBlueprintUserMessages: [Humanoid_AnimBlueprint_C_0] Humanoid AnimBlueprint: Could not find BP RPG Character
[2021.10.06-20.21.10:425][733]LogSlate: Took 0.000167 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-BoldCondensed.ttf' (158K)
[2021.10.06-20.21.13:906][883]LogSlate: Warning: Unable to rasterize '../../../Engine/Content/Editor/Slate/Starship/AssetIcons/CharacterMovementComponent_16.svg'. File could not be found
[2021.10.06-20.21.34:808][694]LogSlate: Took 0.000125 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Light.ttf' (167K)
[2021.10.06-20.21.39:057][ 89]LogActorComponent: UnregisterComponent: (/Game/StarterContent/Maps/Minimal_Default.Minimal_Default:PersistentLevel.BP_EV_Customizable_C_2.Hair.NiagaraComponent_0) Not registered. Aborting.
[2021.10.06-20.21.39:060][ 89]LogActorComponent: UnregisterComponent: (/Engine/Transient.World_1:PersistentLevel.BP_EV_Customizable_C_0.Hair.NiagaraComponent_0) Not registered. Aborting.
[2021.10.06-20.21.39:126][ 89]LogActorComponent: UnregisterComponent: (/Engine/Transient.World_1:PersistentLevel.BP_EV_Customizable_C_0.Hair.NiagaraComponent_1) Not registered. Aborting.
[2021.10.06-20.23.30:605][566]LogActorComponent: UnregisterComponent: (/Game/StarterContent/Maps/Minimal_Default.Minimal_Default:PersistentLevel.BP_EV_Customizable_C_2.Hair.NiagaraComponent_0) Not registered. Aborting.
[2021.10.06-20.23.30:608][566]LogActorComponent: UnregisterComponent: (/Game/StarterContent/Maps/Minimal_Default.Minimal_Default:PersistentLevel.BP_EV_Customizable_C_2.Hair.NiagaraComponent_0) Not registered. Aborting.
[2021.10.06-20.23.30:611][566]LogActorComponent: UnregisterComponent: (/Engine/Transient.World_1:PersistentLevel.BP_EV_Customizable_C_0.Hair.NiagaraComponent_0) Not registered. Aborting.
[2021.10.06-20.23.30:684][566]LogActorComponent: UnregisterComponent: (/Engine/Transient.World_1:PersistentLevel.BP_EV_Customizable_C_0.Hair.NiagaraComponent_1) Not registered. Aborting.
[2021.10.06-20.23.35:715][569]LogD3D11RHI: GetQueryData is taking a very long time (5.0 s) (887a0006)
[2021.10.06-20.23.35:715][569]LogD3D11RHI: Error: Result failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
at D:/build/++UE5/Sync/Engine/Source/Runtime/Windows/D3D11RHI/Private/D3D11Query.cpp:356
[2021.10.06-20.23.35:715][569]LogD3D11RHI: [Aftermath] GDynamicRHI=0000045EFA820000, GDX11NVAfterMathEnabled=0, Result=0xFFFFFFFF, bDeviceActive=0
[2021.10.06-20.23.35:715][569]LogWindows: Windows GetLastError: The operation completed successfully. (0)
And this is the Crash Log when this happens during Gameplay
[2021.10.06-21.26.08:532][185]LogD3D11RHI: Timed out while waiting for GPU to catch up. (0.5 s) (ErrorCode 00000001) (00000000)
[2021.10.06-21.26.09:032][185]LogD3D11RHI: Timed out while waiting for GPU to catch up. (0.5 s) (ErrorCode 00000001) (00000000)
[2021.10.06-21.26.09:532][185]LogD3D11RHI: Timed out while waiting for GPU to catch up. (0.5 s) (ErrorCode 00000001) (00000000)
[2021.10.06-21.26.10:032][185]LogD3D11RHI: Timed out while waiting for GPU to catch up. (0.5 s) (ErrorCode 00000001) (00000000)
[2021.10.06-21.26.10:533][185]LogD3D11RHI: Timed out while waiting for GPU to catch up. (0.5 s) (ErrorCode 00000001) (00000000)
[2021.10.06-21.26.11:032][185]LogD3D11RHI: Timed out while waiting for GPU to catch up. (0.5 s) (ErrorCode 00000001) (00000000)
[2021.10.06-21.26.11:531][185]LogD3D11RHI: Timed out while waiting for GPU to catch up. (0.5 s) (ErrorCode 00000001) (00000000)
[2021.10.06-21.26.12:032][185]LogD3D11RHI: Timed out while waiting for GPU to catch up. (0.5 s) (ErrorCode 00000001) (00000000)
[2021.10.06-21.26.12:532][185]LogD3D11RHI: Timed out while waiting for GPU to catch up. (0.5 s) (ErrorCode 00000001) (00000000)
[2021.10.06-21.26.13:034][185]LogD3D11RHI: Timed out while waiting for GPU to catch up. (0.5 s) (ErrorCode 00000001) (887a0006)
[2021.10.06-21.26.13:034][185]LogD3D11RHI: Error: Direct3DDevice->CreateBuffer(&Desc, pInitData, BufferResource.GetInitReference()) failed with error DXGI_ERROR_DEVICE_REMOVED DXGI_ERROR_DEVICE_HUNG
at D:/build/++UE5/Sync/Engine/Source/Runtime/Windows/D3D11RHI/Private/D3D11Buffer.cpp:103
[2021.10.06-21.26.13:034][185]LogD3D11RHI: [Aftermath] GDynamicRHI=000005791D020000, GDX11NVAfterMathEnabled=0, Result=0xFFFFFFFF, bDeviceActive=0
[2021.10.06-21.26.13:034][185]LogWindows: Windows GetLastError: The operation completed successfully. (0)
Hope you guys can help me understand what is going on.
If anything needs clarification, please feel free to point it out!
Thank you!
P.S.
my machine’s stats, before you ask:
Intel(R) Core™ i9-9900K CPU @ 3.60GHz 3.60 GHz
32.0 GB (31.8 GB usable)