Forum Discussion
boris.novikov
5 months agoProtege
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
- MetaStoreHelpCommunity 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!
- RiverExplorerStart Partner
Does it also give you a stack trace leading up to the error?
- boris.novikovProtege
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 ()
- FabularisProtege
I have the same issue, did you find a solution?
- boris.novikovProtege
No, I didn't. The only thing that works is to simplify the scene considerably, but that defeats the purpose of the analysis.
- GATORSAURU5Meta Employee
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_CircusHonored 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).
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 years ago
- 2 months ago