Releases: needle-mirror/com.unity.xr.openxr
Releases · needle-mirror/com.unity.xr.openxr
1.10.0
[1.10.0] - 2024-01-26
Added
- Added
OpenXRSettings.VulkanAdditionalGraphicsQueue
property to request at startup an additional Vulkan graphics queue in devices that require it. The setting can be enabled through the Project settings UI and build code. - Added
Optimize Buffer Discards (Vulkan)
feature setting option within MetaQuestFeature. - Added a new optional validation rule to switch to use InputSystem.Controls.StickControl instead of Vector2Control for thumbsticks. StickControl allows more input options for thumbstick-based control, such as acting as both a combined 2D vector, two independent axes or a four-way Dpad with 4 independent buttons.
Changed
- Updated project validation rule for Meta Quest Feature - "Select Oculus Touch Interaction Profile or Meta Quest Pro Touch Interaction Profile to pair with." from error to warning to allow other interaction profiles to be enabled as well, like eye gaze or palm pose.
Fixed
- Fixed Meta XR
Space Warp
feature crashing issue when trying to access the depth swapchain. - Fixed Meta XR
Space Warp
depth subimage imageArrayIndex setup wrong issue for multiview render mode. - Fixed a bug where Palm Pose won't work if the Eye Gaze Interaction Profile is added to the project.
- Fixed "The type 'AnalyticsResult' is defined in an assembly that is not referenced" error thrown.
- Fixed UnitySwapchain destructor to completely destroy swapchains to avoid memory leak.
- Fixed OpenXR Settings UI to not render settings on platforms that aren't supported.
- Fixed Android manifest entries were added when the feature was not enabled.
1.9.1
[1.9.1] - 2023-10-19
Added
- Implemented
InputSystem.customBindingPathValidators
interface to show UI warnings in theInputAsset
Editor when added bindings to a disabled interaction profile and when none of the controller type interaction profiles are enabled, but added bindings using generic XRController. - Added APIs
GetInteractionProfileType
andGetDeviceLayoutName
to support binding path validator feature. - Added API
TrySetControllerLateLatchAction
to support controller late latching. Also added MarkLateLatchNode.cs in Controller Sample for usages example. - Added support for Meta XR feature
Symmetric Projection
,Space Warp
, andEye Tracked Foveation
. - Added the option to enable
Subsampled Layout
when creating a Vulkan swapchain. - Added support for recentering Floor tracking origin using new API,
OpenXRSettings.SetAllowRecentering
. This static method allows the app to recenter the tracking origin space when requested by the runtime. Note that calling the method won't trigger a recenter event. - Added support for Meta XR feature
System Splash Screen
. - Added public API for MetaQuestFeature.forceRemoveInternetPermission
Changed
- Updated Input System package dependency to 1.6.3.
- Updated XR management dependency to 4.4.0.
- Updated OpenXR loader to 1.0.29.
- Changed MockRuntime and its FeatureSet to public.
Fixed
- Fixed incorect XR Validation rules after regenerating the OpenXR package settings asset.
- Fixed analytics code being called when disabled.
- Fixed latency issue with controller poses.
- Fixed an XR_ERROR_SESSION_NOT_RUNNING error if xrRequestExitSession is called when the session is not running.
1.8.2
[1.8.2] - 2023-07-18
Added
- Added a new optional validation rule to recommend disabling Screen Space Ambient Occlusion render feature in UniversalRenderer assets to avoid significant performance overhead.
Changed
- Removed
Windows Mixed Reality feature group
from Windows build target.
Fixed
- Fixed issue that UWP player tries to initialize XR when "Initialize XR on Startup" is unchecked.
- Fixed
SetOutput Failed.
andSetInput Failed.
log spamming issue when audio sources is not available. - Fixed performance drop after headset becomes inactive.
- Fixed Hand Common Poses Interaction Profile and Palm Pose feature documentation links broken.
- Fixed Mock Runtime option toggles on accidentally after entering Play Mode.
- Fixed hand tracking position and rotation not being tracked with XR Hand device.
1.8.1
[1.8.1] - 2023-06-09
Added
- Added functionality in
OpenXRFeatureBuildHooks
exposing the BootConfig for reading/writing. - Added
Force Remove Internet Permission
setting to the Meta Quest Feature settings, allowing to remove Internet permissions added automatically to the application manifest. - Added class HPReverbG2ControllerProfile.ReverbG2Controller and a new interaction profile to support the HP Reverb G2 controllers.
- Added Hand Interaction Profile and added PalmPose and dpad EXT implementations.
Changed
- Modified
ModifyAndroidManifestMeta
class to provide required Android manifest entries using a new internal XR system, instead of manually modifying the manifest file. - Updated the IsTracked and TrackingState Input Features names with a Usage prefix to prevent name collisions.
- Updated OpenXR loader to 1.0.27.
Fixed
- Fixed type
XrCompositionLayerPassthroughFB
not appearing in the runtime debugger. - Fixed crash when deploying to Android on Unity 2023 due to using type
Activity
overGameActivity
. - Fixed issue on Android where screen captures only capture the view on one eye.
1.8.0
[1.8.0] - 2023-05-18
Added
- Added functionality in
OpenXRFeatureBuildHooks
exposing the BootConfig for reading/writing. - Added
Force Remove Internet Permission
setting to the Meta Quest Feature settings, allowing to remove Internet permissions added automatically to the application manifest. - Added class HPReverbG2ControllerProfile.ReverbG2Controller and a new interaction profile to support the HP Reverb G2 controllers.
- Added Hand Interaction Profile and added PalmPose and dpad EXT implementations.
Changed
- Modified
ModifyAndroidManifestMeta
class to provide required Android manifest entries using a new internal XR system, instead of manually modifying the manifest file. - Updated the IsTracked and TrackingState Input Features names with a Usage prefix to prevent name collisions.
- Updated OpenXR loader to 1.0.27.
Fixed
- Fixed type
XrCompositionLayerPassthroughFB
not appearing in the runtime debugger. - Fixed crash when deploying to Android on Unity 2023 due to using type
Activity
overGameActivity
. - Fixed issue on Android where screen captures only capture the view on one eye.
1.7.0
[1.7.0] - 2023-02-21
Fixed
- Fixed - Meta builds now don't include Bluetooth permissions in Android manifest by default when using Microphone class in script code.
- Fixed crash in OpenXR runtime debugger when cache size is set to 0.
- Fixed OpenXR project validation to check for correct versions of OpenGLES in Unity 2023 and up.
- Fixed crash when runtime reports an invalid view configuration from xrWaitFrame.
- Fixed - OpenXR plugin will only look up functions from supported and enabled extensions.
- Fixed GPU selection in multi-GPU scenarios.
Updated
- Updated documentation for the Meta Quest feature.
Added
- Added API
OpenXRRuntime.retryInitializationOnFormFactorErrors
to retry xrGetSystem during initialization if xrGetSystem returns a form factor error. - Enable XR_META_performance_metrics. This enables performance stats for Meta Quest devices on OpenXR.
- Add class MetaQuestTouchProControllerProfile.QuestProTouchController new interaction profile to support Meta Quest pro controllers.
- Added ability for OpenXRFeature derived classes to add Awake() functions.
- Added API
OpenXRInput.GetActionIsActive
to check whether an InputAction has any bindings which are currently active. - Added API
OpenXRInput.GetActionHandle
to get the action handle of an InputAction and returns 0 if not found.
[1.6.1-preview.1] - 2022-12-01
1.6.0
[1.6.0] - 2022-11-29
Fixed
- Fixed black game window issue when building a URP project.
- Fixed
InputDevice.TryGetHapticCapabilities
always return True with OpenXR. - Fixed repeated warnings for failed to restart OpenXR when no HMD is attached.
- Fixed invalid pose values got populated when tracked flags are invalid.
- Fixed XR_SPACE_BOUNDS_UNAVAILABLE return code marked as Error in the log.
Updated
- Updated Input System dependency to 1.4.4.
Added
- Added
Meta Quest Feature
support for Android and deprecated previousOculus Quest Feature
. Also added a new validation rule to support new Meta Quest Feature migration. - Added API
MetaQuestFeature.AddTargetDevice
to add additional target devices to the devices list in the MetaQuestFeatureEditor. - Added Thumbrest Touch support in Oculus Touch Controller Interaction Profile.
- Added a new optional validation rule to switch to use InputSystem.XR.PoseControl instead of OpenXR.Input.PoseControl, which fixed PoseControl conflicts in InputSystem.XR and OpenXR.Input. Note: If opt in to use InputSystem.XR.PoseControl,
USE_INPUT_SYSTEM_POSE_CONTROL
will be added in Scripting Define Symbols under Player settings.
1.5.3
[1.5.3] - 2022-09-18
Fixed
- Fixed
XRInputSubsystem.TryGetBoundaryPoints
returning inaccurate values. If you have guardian/boundary setup in the headset,TryGetBoundaryPoints
will return a List of size 4 representing the four vertices of the Play Area rectangle, which is centered at the origin and edges corresponding to the X and Z axes of the provided space. Not all systems or spaces may support boundaries. - Fixed an issue that controllers position not getting updated and stuck to the floor level when Oculus Integration Asset installed in the project.
- Fixed an issue that OpenXR libraries were included in build when OpenXR SDK is not enabled.
- Improved domain reload performance by removing unnecessary checks when entering Playmode.
Updated
- Updated Input System dependency to 1.4.2.
Added
- Added support for Android cross-vendor loader.