Forum Discussion

CheerfulSeaTurtle9314's avatar
15 days ago

Lower frame rate in Unity app

Hello!

I am currently doing a project where I need to reduce the frame rate in passthrough significantly (5-30fps). I cannot find anything in the PassthroughCameraApiSamples or in Meta documentation and have tried throttling to "fake" fps drops in multiple ways.

Does anyone have a working solution on how to lower passthrough fps?

Thanks in advance!

2 Replies

  • Unity and Meta’s Passthrough API don’t provide a direct way to lower the camera FPS. A reliable workaround is to render the passthrough texture to a RenderTexture at a lower update rate—use a coroutine or timer to update the texture only at your target fps (5–30). This effectively throttles the visual framerate without affecting the underlying camera feed.

    • CheerfulSeaTurtle9314's avatar
      CheerfulSeaTurtle9314
      Honored Guest

      Thank you for your answer! However, I was not clear in my previous post - I want to reduce the update rate for 3D passthrough. Will your solution still work for that?

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions