Fortnite runs out of GPU memory and closes. Possibly related to volumetric fog

Summary

I’m running into an issue on Epic settings where Fortnite crashes and a popup shows that states that Fortnite has closed due to running out of GPU memory:

Fatal error: [File:D:\build++Fortnite\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 773]
Out of video memory trying to allocate a rendering resource

0x00007ff7b78c2fbc FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff7b2f45d59 FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff7b2f4925f FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff7b29b1a4a FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff7b2f43662 FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff7b2f42b8a FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff7b2fbf0db FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff7b2fbef3e FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007fffa6957374 KERNEL32.DLL!UnknownFunction

Crash in runnable thread RHISubmissionThread

I’m using an Nvidia RTX 4070 with 12gb ram and the Windows Task Manager confirms that I have enough memory. I started seeing the issue prior to the 32.00 release so I don’t think the new update is the issue. My guess is that this has to do with Volumetric Fog as this is the only change that I’ve made to my island.

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Stability

Steps to Reproduce

Open island in FN on Epic settings. The island needs to have exponential height fog enabled. A large cube dimensions 20x20x20 with a volume material to localize the fog will likely cause the FN instance to crash.

Expected Result

No crashing

Observed Result

Crashing

Platform(s)

Windows 10

Additional Notes

I can provide a private island code if needed.

I am able to reproduce with volumetric fog. With this fog volume and FN on Epic settings, I run into an instant crash as labeled above.

What the fog volume looks like:

The volume material:

Exponential height fog settings:

Day sequence device settings:

Fog cube volume settings:

Similar gpu crash in this thread when trying to build HLODs, but I dont know if they are using fog

Thanks for providing the link. I believe that is the DX12 issue from the 32.00 update. Epic will need to fix whatever caused that issue.

My issue started prior to the 32.00 release so I think this is different.

1 Like

Oh yes, thanks for making me aware, audieloco’s happened after the 31.40 update, but I didn’t consider swaggods time frame in relation to the update, his could have been after the update, nor did I consider it being a 32.00 fix when I posted last.

But audieloco’s was prior to 32.00 and the DX12 error is the same as yours at line 773.
However thier issue is building HLODs, they can launch a session without HLODs built, but I don’t know if they have fog though…
Or how the issue is going, they haven’t replied in a while and I’m interested to see how their struggle is going.

Can you successfully build HLODs or is it on launch ?

It is random. Sometimes I can launch and sometimes I can’t.