-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Each player pawn has an OculusPassthroughLayer component. Every other player in the lobby has it too.
So, any player has an x-amount of OculusPassthroughLayer in the scene. This results in a terrible performance issue when more than three player pawns are in the scene.
Tests methodology:
- create player pawn
- add OculusPassthroughLayer - StereoLayerShapeReconstructed
- launch a multiplayer session with 5+ players, join this session with your quest device
- the quest will try to render n-amount of PassthroughLayer, that will cause performance issues
For easier testing - setup 3d scene with significant GPU usage (70-80%)
Result:
GPU profiling will show, that vulkan is waiting for something and doing nothing.
There will be significant passthrough video feed glitches and stutter. Unlick regular game performance issues, where only game is laggy, but video keeps stable fps.
Potential solution/fix:
Spawn OculusPassthroughLayer only on local player pawn, so there is only one OculusPassthroughLayer in the entire world for each player.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels