Hi,
I have the blueprint called “BP_PerfAnalysis” from “MedievalGameEnvironment” demo project in order to keep track of my game’s performance with every change I make to the project.
Basically, this blueprint is executed using console command “ke * StartPerf” and iterates over all the CameraActors in the scene (tagged with PerfCam) and starts profiling for 2 seconds and finally take screenshots while FPS is showing on the game view. However, FPS is not shown on the final screenshot image saved to disk.
I could not find a way to show the FPS on the final screenshot.
My Aim is that if I experience a performance problem in a future phase of my project and I’m lost in finding what caused that, I would be able to go back and look at the screenshots to find out after what change in my game FPS started to drop and so on. So, basically, I’ll be running the Blueprint with every change in the project. (May be I add this to level blueprint so that I won’t forget to run it)
Those FPS stat is probably in Slate debug canvas and that why it cannot capture in screenshot.
From the top of my head, Just place TextRenderActor in front of camera and assign fps text to it.
Other alternative is UnrealInsight bookmark.
You can write your own UnrealInsight bookmark with your custom naming.
This is also shown in UnrealInsight graph.
Hi BoBoMX, sorry for the late reply, and thanks for your answer.
My blueprint is already saving profiling data for each camera, and on those I can understand what FPS is for which camera if I open them through UnrealInsights.
What I’m looking for with this thread is that to have a more simplified view of performance directly put on the screenshot taken from each of my camera. For easy reference, instead of deep diving to profiling data using UnrealInsights.
So, what I need is to have screenshots from each camera on which stat FPS, stat GPU and may be some other performance measures are shown.
There is something called FScreenshotRequest. I’ll try to use it and see if it would capture performance data on the screenshot.
Thanks.
For your information, I downloaded a plugin called “FrameCapture” and it successfully saves screenshots from the game play (in editor, and also development build) including the UI and FPS.
By this way I was able to capture information displayed on the screen related to stat commands (stat FPS, stat Unit, stat gpu, etc.)