Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
boris.novikov's avatar
5 months ago

Meta Quest Runtime Optimizer issues

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?

7 Replies

Replies have been turned off for this discussion
  • MetaStoreHelp's avatar
    MetaStoreHelp
    Community Manager

    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!

    • boris.novikov's avatar
      boris.novikov
      Protege

      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 ()

    • boris.novikov's avatar
      boris.novikov
      Protege

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

  • 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

    • Morris_Circus's avatar
      Morris_Circus
      Honored Guest

      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).