Skip to main content
Sandstedt
Inspiring
December 31, 2021

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

New Participant
June 7, 2022

Hi SanCity,

Did you find a solution to this?

Participant
June 20, 2022

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.

New Participant
September 28, 2022

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.

New Participant
May 9, 2023

Getting the same thing, did you found a solution?