UE Crashes and refuses to open again! Urgent! Thanks in advance!

Hi I am having this issue whereby after the initial crash, the file refuses to open at all. This is the crash error message. Anybody knows what’s causing an issue and possibly how to fix? Thanks in advance! This is quite urgent !

LoginId:35f672ab44aadad9e7c0d8acebc32b69
EpicAccountId:2bbc4e4c7ee849bb8a9405e5cf73ba4d

Assertion failed: Desc.GetSize() > 0 [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderGraphValidation.cpp] [Line: 285] Creating buffer ‘Hair.PageIndexResolutionBuffer’ is zero bytes in size.

UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

Based on the error message, it appears that there is an issue with the size of the ‘Hair.PageIndexResolutionBuffer’ buffer that is being created. The assertion failure message is indicating that the buffer size is zero, which is not allowed.

To resolve this issue, you may need to investigate why the buffer size is zero. It could be due to a number of factors, such as a bug in the code that is creating the buffer or an issue with the data being used to initialize the buffer.

Possible solutions:

  • Check the code that is creating the buffer to see if there are any bugs or issues that could be causing the buffer size to be zero.
  • Verify that the data being used to initialize the buffer is correct and is not causing the buffer size to be zero.
  • Try running the program in a debugger to get more information about where the error is occurring and what might be causing it.
  • If possible, try to reproduce the issue on a different machine or with a different set of data to see if the problem is specific to your environment or if it is more general.
2 Likes

Thanks for taking the time to explain it to me. I found out the problem lies with the Metahuman that doesn’t have LOD for their Hair Mesh. Once I replace the Hair to those that do, everything solved by itself.

2 Likes

I run into the same error

Fatal error:
Creating buffer ‘Hair.PageIndexResolutionBuffer’ is zero bytes in size.

Always get that error when heading into PIE in the editor.

The hair has the LOD setup. I’m on UE 5.3, any ideas? :confused:

r.HairStrands.Voxelization 0 fixed that error for me

Hi! ¿Could you help me to asing LOD to the Hair Mesh? I´m having the same error as you.
Thanks!

I agree this is a metahuman issue.
On my end, I manage to not get the error if I didn’t get too far from the metahuman.
The thing is as I had to get far from it, so I found a trick, it is not a solution.
The trick for me was to toggle the visibility of the metahumans off while far from it and once getting closer to it made it pop back up (you can do this automatically via the sequencer and a camera) and you get no crash.
That said, in order to not show the character popping back up, I had to find a way to put something in front of it before making it re-appear (use a tree).
Hope this helps.

1 Like

I am kind of inspired by you, really appreciate that, and I figured out a new way to sort it out. Firstly, my problem is caused by a large number of metahumans (all equipped with LOD),but still leading to engine crashes when rendering distant shots. To address this, I added an extra scene before the main animation to ‘warm up’, starting very close to the metahumans and then moving away from them (this can be understood as loading or warming up all LODs). Subsequently, all the distant shots in the following sequences did not cause the engine to crash. (To ensure everything is rendered, you can delete these ‘warm-up’ scenes afterward.) :heart_hands: