Hello!
I am working on an ArchVis template that I started a while ago in an earlier version of Unreal. It starts the player out in a first person pawn so you can navigate on a desktop, and you can toggle between that and the VR pawn. I have since upgraded the project to 4.24, and I have successfully packaged it before with no performance issues. Now, after making quite a few changes, it is considerably slower when packaged when you inhabit the VR pawn. The performance in the first-person pawn is about the same in both, so I’m thinking it must be something specifically related to the vr pawn or vr in general.
The only headset I have available is an Oculus. The drivers for it and my graphics card are up to date.
Some other details: The way I set up the system of two pawns is that they are both spawned in the begining, and when you switch to possess the vr pawn, some console commands adjusting various quality settings run in the background and the virtual hands are created (based on the VR template hands). When you switch possession back to the first-person pawn, the hands are destroyed and the same array of quality settings are changed back in the background. I thought it might be the hands so I tried removing the bit of blueprint that spawns them on possession of the VR pawn, but that didn’t make a difference. The console commands appear to be executing just fine as well.
I feel I have reached the limits of what I can think of to troubleshoot. I’ve used stat unit in both the in-editor and packaged game and I get the following:
Packaged In-editor
Frame: 60-100 18
Game: 50 12
Draw: 60-100 .1
GPU: 60-100 18
RHIT: 10 18
In the first person pawn, the numbers are nearly identical between the PIE and packaged versions.
Any help is greatly appreciated; I’ve already spent way too much time trying to troubleshoot this!