Skip to main content
Participant
July 19, 2025

Meta Quest Runtime Optimizer issues

  • July 19, 2025
  • 7 replies
  • 429 views

I tried the Meta Quest Runtime Optimizer utility and was inspired by the idea of integrating such useful functionality into Unity. On a simple test scene in my project everything worked well, but on a real complex scene I encountered several problems:


1) When I tried to capture a frame, the console displayed a warning 

[OVRNetworkTcpClient] Sanity check failed. PayloadLength 333694

and the frame capture has not happened. I tried deleting large parts of the scene (especially rigid body objects) and the frames were captured correctly, but it didn't help much. What could be the root cause?


2) "What if?" Analysis gives ьу confusing results: some objects report negative render time. Is it normal behavior and can I just ignore those reports?

This topic has been closed for replies.

7 replies

MetaStoreHelp
Community Manager
July 21, 2025

Hi there,

 

Thanks for posting into our forum. We noticed you're running into some developer issues and we'd like to point you in the direction for some information! You're welcome to check out our Horizon Developer Support Center that has a ton of tools and resources we think you'll find useful on your travels.

 

We hope this helps you out and wish you the best of luck in your development!

If you're the author of a thread, remember to mark a reply as the Accepted Solution to help others find answers!
RiverExplorer
Honored Contributor
July 21, 2025

Does it also give you a stack trace leading up to the error?

 

RiverExplorer.US]@gmail.com https://RiverExplorer.games
Participant
July 22, 2025

Yes, it happens in Core/OVRNetwork.cs at line 571 in ProcessReceivedData function. 

[OVRNetworkTcpClient] Sanity check failed. PayloadLength 300743
UnityEngine.Debug:LogWarningFormat (string,object[])
Meta.XR.RuntimeOptimizer.Core.OVRNetwork/OVRNetworkTcpClient:ProcessReceivedData () (at ./Library/PackageCache/com.meta.xr.runtimeoptimizer@e44a64bf5ef6/Core/OVRNetwork.cs:571)
Meta.XR.RuntimeOptimizer.Core.OVRNetwork/OVRNetworkTcpClient:OnDataReceived (System.IAsyncResult) (at ./Library/PackageCache/com.meta.xr.runtimeoptimizer@e44a64bf5ef6/Core/OVRNetwork.cs:544)
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

Up and Coming
July 22, 2025

I have the same issue, did you find a solution?

Participant
July 23, 2025

No, I didn't. The only thing that works is to simplify the scene considerably, but that defeats the purpose of the analysis.

Meta Employee
July 31, 2025

Hello there!

I noticed you're running into some trouble with the Meta Quest Runtime Optimizer. Could you run the profiler and post the results? That way, I can get a better idea of what's going on.

Looking forward to hearing from you!
-GATORSAURU5

New Participant
August 13, 2025

Hello GATORSAURU5,
I'm currently having the same issue. Can you provide specific instructions on what you need?
I can confirm that this issue occurs when trying to run the Runtime Optimizer (either mode) in complex scenes (for me ~1mio tris and ~2k parts).