Game crash on full screen capture

Hello, @

Yes, I’m guessing that your graphics card is running out of memory too, due to the huge “BitMap” array. If you stop and think about it, in the worst case scenario, the last index accessed by the two for loops is “3440 + 1440 * 3440 = 4.957.040” A nearly 5 million index! Crazy stuff…

I would recommend you to read the following article from “Kazimieras” about taking screenshots on UE4:

It’s a pretty well-written article, see if it can help you. I would like to quote a piece of it that goes like:

When dealing with unusually large
container class objects, it’s an
excellent idea to preallocate a memory
block for them. Depending on the
particular container class, adding an
element to the container might cause
the entire container object to be
copied from one block of free memory
to another, longer block so that the
container fits.

Maybe that’s the problem of your solution! Anyway, tell us later if this article helped you!

Cheers!