Developer Notes

The correct solution for this is to simply set r.SceneRenderTargetResizeMethod to 2 instead of the default of 0 when there are intermediate render targets used for scene captures.

Description

Performance issues when a Render target is added to Spectator screen (VR) in a packaged game

Steps to Reproduce
  1. Download the attached project
  2. Open project
  3. Play in VR mode
  4. Run the command Stat FPS (frame rate will be will be 60+ )
  5. Package for windows 64
  6. Create a short cut that will open the packaged project in VR (Create short cut > Properties > Add -VR to the end of the target)
  7. Play using the new short cut
  8. Run the command Stat 64

Result: The Project will run at around 5 frames a second
Expected: The frame rate would be similar to what is seen in the editor

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

5
Login to Vote

Fixed
ComponentUE - Platform - XR
Affects Versions4.224.21.2
Target Fix4.23
CreatedFeb 20, 2019
ResolvedMay 14, 2019
UpdatedOct 1, 2019