Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Sandstedt's avatar
Sandstedt
Start Partner
4 years ago

Memory Error when opening the overlay menu

While monitoring the Android logs, and running my Unity Quest game, and pressing the Oculus button to open the overlay menu, I get this wierd memory error:

 

error getting shared memory region, memory type: Controller, failed with Status(-1, EX_SECURITY): 'requested shared memory

When this happens, the game stops receiving controller and headset inputs, so the entire screen freezes that is incredible jarring. Any idea how to solve this? I guess it has something to do with the Focus Aware, and how the Input System works, as it only receives input while being active?

I'm using Unity 2021.2.7 with OpenXR Plugin v1.3.0 and the "New" Input System.

4 Replies

  • Suddenly having same issue in 2019.4.31f1, legacyVR. It only happens in a release build.

    Doesn't happen in a build-and-run with Development Build & Script Debugging.

  • I've come across the same error in the game I'm working on once I build it: 

     

    error getting shared memory region, memory type: HeadTracker, failed with Status(-1, EX_SECURITY): 'requested shared memory region when not registered/focused'
    
    error getting shared memory region, memory type: AnchorTracker, failed with Status(-1, EX_SECURITY): 'requested shared memory region when not registered/focused'

     

    I'm convinced that these are contributing to the game's start button is not working properly.