Summary
To create a more engaging gameplay experience, we are using cinematic sequences during combat. We’re dynamically changing the point of view (POV) by keeping the camera focused on a specific anchor prop and adjusting the relative position between the camera and the anchor. At different frames of the sequence, we insert key frames defining the transform of both the camera and the anchor. In Verse, we use the SetPlaybackFrame() function to achieve the desired POV.
However, we encountered a strange bug. If SetPlaybackFrame() is called frequently and we attempt to play the final section of the sequence to switch back to the default gameplay camera and teleport the player to their original position before the combat started, Fortnite sometimes crashes. The only crash report we receive is a generic message: “We’re sorry, Fortnite has crashed. Contact Epic if this happens frequently,” and it doesn’t have a 100% reproduction rate.
This bug does not occur if:
We disable the key frames in the sequence, or
We wait until the sequence ends before teleporting players.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Devices
Steps to Reproduce
not 100% Repro
-
Set up a cinematic sequence with key frames manipulating the transform of the camera actor. Play and pause the sequence for the player.
-
Use SetPlaybackFrame() to jump between different key frames and switch between different POVs for the player.
-
Finally, play the sequence without pausing and teleport the player before the sequence ends.
Expected Result
When I use SetPlaybackFrame() on a sequence that manipulate the POV of the camera and then teleport player with a sequence playing to the end and resetting the default gameplay camera, it should not crashing the Fortnite client.
Observed Result
When I use SetPlaybackFrame() on a sequence that manipulate the POV of the camera and then teleport player with a sequence playing to the end and resetting the default gameplay camera, Fortnite client will have a chance to crash
Platform(s)
PC