microsoft / OpenXR-Unity-MixedReality-Samples

Sample Unity projects to demo how to use OpenXR plugin in Unity for HoloLens 2 and Mixed Reality headsets
MIT License
245 stars 70 forks source link

Missleading warning `"Run in Background" is not necessary in this version of Unity...` #184

Open anonymous2585 opened 4 months ago

anonymous2585 commented 4 months ago

The warning "Run in Background" is not necessary in this version of Unity and can add unwanted performance costs for XR Unity apps. is missleading.

We have one usecase that require "Run in Background" to be activated: when an other 2D UWP panel application is open inside the 3D app. Without "Run in Background" checked, the Unity app stops rendering and tracking but is still visible by the user (big motion sickness in VR).

Because I had this warning, I disabled "Run in Background", causing this regression we catch only later.

Fix proposed

Remove this warning or add an "ignore" option that is saved in the project.