Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[4.1.2] - 2023-11-06
Fixed
- Some configuration flags weren't being set in 4.1.1 for 2022.3 only, causing some runtime features to not be enabled correctly. This has been fixed and only affected that specific version combination
[4.1.1] - 2023-09-05
Added
- Added Quest 3 target device checkbox
- Updated the
SystemHeadset
enum to includeMeta_Quest_3
andMeta_Link_Quest_3
entries
Changed
- Added project validation rule and soft dependency to xr.core.utils package
- Bumped up required XR Management version to 4.4.0 to fix issues with Android Manifest cleanup
- Updated Oculus plugins to v56
- Updated documentation to inform users that Phase Sync is always active when using the Oculus OpenXR Runtime
- Bumped minimum Unity version from 2022.2 to 2022.3
Fixed
- Removed Android manifest cleanup that removed the manifest file, existing projects need to do a clean build to completely remove the issue
- Fixed Android app issues that arise when setting the entry point to GameActivity
Known Issues
Unity.XR.Oculus.Stats.PerfMetrics
entries currently return0
when using the OpenXR runtimeUnity.XR.Oculus.Stats.AppMetrics
entries return0
on all Oculus runtimes- For both of the above, the suggested replacement is to use the profiling tools available via the Oculus Developer Hub: https://developer.oculus.com/documentation/unity/ts-odh-logs-metrics/
[4.0.0] - 2023-04-24
Changed
- Updated Oculus plugins to v51. V51 plugins no longer provide support for Quest 1 devices or 32-bit Windows builds
- Moved Late Latching settings out of the Experimental section
Removed
- Removed Quest 1 as a target device in the Oculus XR Plugin settings and manifest entries
[3.3.0] - 2023-03-13
Added
- Updated the
SystemHeadset
enum to includeMeta_Quest_Pro
andMeta_Link_Quest_Pro
entries
Changed
- Modified how foveated rendering (ETFR and FFR) is enabled and configured from script to make it more consistent
Fixed
- Reverted deferred eye texture deletion as we only needed to defer layer deletion
- Fixed a GLES2 script deprecation warning in Unity 2023.1+
[3.2.3] - 2023-02-16
Changed
- No changes from 3.2.3-pre.1 other than removing the Pre-release version tag
[3.2.3-pre.1] - 2023-02-08
Fixed
- Fixed a potential memory corruption issue on Rift when calculating mirror view rects
- Issue where enabling mobile Depth Submission could cause crashes on application startup if MSAA was disabled. The problem was fixed in Unity 2020.3 and above. To get the fix, install the latest patch release of whichever Unity version you are using
- Resolved an issue where disconnecting a Link device then reconnecting it could result in a black screen with no input
- Resolved a potential issue where read-only System Splash Screen images could cause build failures
- Fixed a potential startup crash on Quest when app initialization is interrupted and then resumed
[3.2.2] - 2022-11-06
Changed
- No changes from 3.2.2-pre.2 other than removing the Pre-release version tag
[3.2.2-pre.2] - 2022-11-03
Fixed
- Resolved an issue where Eye Tracked Foveated Rendering settings may conflict with settings provided by the Oculus Integration asset
Shared Depth Buffer
on PC should now work correctly when usingSingle Pass Instanced
rendering- Fixed potential jittering and one frame delay when using dynamic render viewports
- Fixed incorrect vertical placement of viewports when using Vulkan
[3.2.2-pre.1] - 2022-10-24
Fixed
- Resolved an issue where
OnPostprocessBuild()
could log warnings in situations where the Oculus Android provider wasn't enabled in XR Management - Resolved an issue where eye textures and layers were being destroyed too early when being reallocated, potentially resulting in GPU hangs/faults
[3.2.1] - 2022-10-04
Added
- Eye Tracked Foveated Rendering for Quest Pro. Requires Vulkan and Multiview
- Depth submission for mobile Oculus platforms. Allows for depth testing between layers
- Added a setting to add Quest Pro support to the Android manifest
Changed
- Updated Oculus plugins to v46 with the OpenXR backend
[3.1.1] - 2022-08-24
Changed
- Bumped minimum Unity version to 2021.3.4f1
- Added version detection checks to validate compatibility with specific Unity versions
Fixed
- Fixed an issue where an XR Rig could cause constant attempts to set the tracking origin when using the OpenXR backend, causing potential visual issues and/or crashes. Note: This fix will cause
TryRecenter()
to always returntrue
. If you have an application that depends on the results ofTryRecenter()
, please note this behavior change.TryRecenter()
would only work correctly on PC non-OpenXR builds in previous versions, and would returnfalse
in all other situations
[3.1.0-pre.1] - 2022-06-23
Added
- Added the
Enable TrackingOrigin Stage Mode
option to mobile settings. When enabled, if the Tracking Origin Mode is set to Floor, the tracking origin won't change with a system recenter
Changed
- Updated Oculus plugins to v41 with the OpenXR backend (Mac spatializer plugin is still on v34)
Fixed
- A few refresh rate issues with Rift and available refresh rate reporting on Quest have been resolved with the v41 plugin update
- Fixed an issue where playing in editor via Link was not functioning correctly when Application SpaceWarp was enabled
[3.0.2] - 2022-06-01
Fixed
- Fixed an incorrect depth texture format being requested on mobile
- Fixed compilation errors on platforms where
ENABLE_VR
is not currently defined - Fixed an issue where the mirror view blit was using an incorrect source rect
- Early engine init on mobile now looks for a boot.config entry rather than using an intent filter query, resolving potential Android app store issues
[3.0.1] - 2022-03-30
Fixed
- Resolved an issue where Symmetric Projection was defaulting to off, not taking advantage of potential GPU perf gains
- Changed Symmetric Projection and Subsampled Layout settings incompatibilities to be build warnings rather than errors since these aren't fatal settings issues
[3.0.0] - 2022-03-02
Added
- Added a Late Latching Debug Mode option under the Experimental section of the Oculus Android settings. This can be used to verify that Late Latching is working as intended via log entries in Development builds. Currently requires Unity 2020.3.28f1 or higher, and will be available in a future release of 2021.2+
- Add optional support for Symmetric Projection on Quest 2 when using Vulkan and Multiview. This can improve GPU performance when using Multiview due to more common workloads between the left and right eye
Changed
- Multiview (Quest), and Single Pass Instanced (PC) are now the default stereo rendering modes in Unity 2021.2 and higher
Fixed
- Android Minimum API Level was always being forced to 23 when Oculus Android was enabled. Now it's only set to 23 if it's currently less than 23
[3.0.0-pre.4] - 2022-01-24
Fixed
- Resolved a package manifest issue that was causing the Oculus subsystems to fail to load correctly
[3.0.0-pre.2] - 2022-01-14
Changed
- Updated Oculus plugins to v34 with the OpenXR backend
- Modified Oculus plugin initialization on D3D11
- Updated XR Management dependency to 4.2.0
Fixed
- Fixed a potential thread safety issue with ASW
- Changed how init code finds the Unity Surface View to fix an issue related to recent core engine changes
[3.0.0-pre.1] - 2021-10-22
Added
- Added support for Application SpaceWarp to enable smoother experiences at lower framerates. Note: This feature currently requires a customized version of the URP package that is provided by Oculus. You shouldn't enable this feature if you aren't using that custom URP package
- Added experimental support for Late Latching when using Vulkan on Quest devices
Changed
- Updated Oculus plugins to v33 with the OpenXR backend. Note: Gamma color space is no longer supported with GLES with the OpenXR backend, so projects need to use linear color space, or switch to Vulkan. Users on 2020.3 can continue to use the verified 1.x.y versions of this package if they don't wish to update to the OpenXR backend
- Bumped minimum Unity version to 2021.2.0b17
- Changed
SetFoveationLevel(int level)
to return a bool. FFR APIs should succeed on mobile and fail on desktop - Removed package dependency on
com.unity.ugui
Removed
- Removed unsupported
InputFeatureUsage<bool> volumeUp
andInputFeatureUsage<bool> volumeDown
from OculusUsages
[1.11.0] - 2021-10-05
Changed
- Vulkan is no longer experimental for Oculus on Android in Unity 2021.2 and higher, and will no longer be removed from your graphics settings in those versions
- Updated Vulkan docs to reflect the above
[1.10.1-preview.3] - 2021-09-29
Changed
- Updated Oculus plugins to v33 non-OpenXR
- Updated AudioSpatializer plugins to v33
Fixed
- Fixed an issue where eye textures were the incorrect resolution on Rift
- Resolved an issue with configuring FFR when using the OpenXR backend
[1.10.0] - 2021-07-08
Changed
No changes since 1.10.0-preview.2
[1.10.0-preview.2] - 2021-07-08
Added
- Added
SystemHeadset GetSystemHeadsetType()
to query the active headset type at runtime - Added the Subsampled Layout option for Vulkan on Quest 2. Requires Unity 2020.3.11f1 or 2021.1.9f1 or higher, and will result in a black screen if enabled on earlier versions of Unity
Changed
- Added the Mac audio spatializer plugin back in now that it no longer crashes on M1 based Macs
- Updated Oculus plugins to 1.57.0
- Updated AudioSpatializer plugins to 1.57.0
- Moved updated Oculus library licensing information into
Third Party Notices.md
- Updated
LICENSE.md
Fixed
- Fixed issue when Link disconnected and reconnected while in play mode, a black screen in headset occurred when reentering play mode
[1.10.0-preview.1] - 2021-05-19
Added
- Added
event Action InputFocusAcquired
andevent Action InputFocusLost
inclass InputFocus
to detect Oculus input focus when the Universal menu is open or closed - Added system splash screen support for Quest. Oculus OS will display the system splash screen as a high quality compositor layer as soon as the app is starting to launch until the app submits the first frame
Fixed
- Fixed issue #1325113, where hand tracking was not working on Quest/Quest 2 when the Unity splash screen was disabled
- Fixed related script initialization timing issues where some calls failed on the first frame but would succeed later
[1.9.1] - 2021-04-23
Changed
No changes since 1.9.1-preview.2
[1.9.1-preview.2] - 2021-04-15
Fixed
- Fixed issue #1324560, a potential PC crash with certain audio input and/or output device configurations
- Fixed DllNotFoundException error when running standalone players with the Oculus XR Plugin installed but disabled in the loader list
- Fixed an OculusUnity.java compile error when targeting Android API lower than 26
[1.9.0] - 2021-03-18
Changed
No changes since 1.9.0-preview.1
[1.9.0-preview.1] - 2021-03-15
Added
- Added
bool EnableDynamicFFR(bool enable)
to enable dynamic FFR. This should be combined withSetFoveationLevel()
to enable dynamic FFR
Changed
- FFR APIs still log when called on desktop, but it is now a warning rather than an error. Conditionally compile out FFR code on non-Android to avoid the messages
Fixed
- Fixed issue #1300651, where the Oculus XR Plugin would crash with apps built into folders with non-ASCII characters in the path
- Fixed an editor crash when entering playmode with a non-DX11 graphics device
- Fixed
[XR] Error determining if we should quit: Not Initialized
log spam when the runtime fails to initialize
[1.8.1] - 2021-02-01
Changed
- Enabling the Oculus Android loader will automatically set the Minimum API Level setting to 23
- Updated XR Management dependency to 4.0.1
[1.7.0] - 2020-12-10
Changed
No changes since 1.7.0-preview.2
[1.7.0-preview.2] - 2020-12-09
Added
- Added target devices to the Android settings. These are used to configure the supported devices list in the Android manifest. For example, enabling Quest 2 will allow 80/90Hz refresh rates on Quest 2
- Added
bool TryGetAvailableDisplayRefreshRates(out float[] refreshRates)
- Added
bool TrySetDisplayRefreshRate(float refreshRate)
- Added
bool TryGetDisplayRefreshRate(out float refreshRate)
Fixed
- Fixed
XRDevice.refreshRate
not updating correctly - Fixed
indexTouch
andthumbTouch
usages always returning false - Removed the Mac audio spatializer plugin to work around a crash on startup on M1 based Macs
[1.7.0-preview.1] - 2020-11-30
Added
- Added
Phase Sync
option on Android. This enables a latency optimization technique which can reduce simulation latency by several ms, depending on application workload. This is currently disabled by default, but we encourage trying it with your projects - Added Unity Profiler marker for
OculusRuntime.WaitToBeginFrame
to clarify time spent waiting for frame sync. Note that this marker is only visible in Unity 2020.1+ since the profiler plugin interface is not available in 2019.4
Changed
- Updated to Oculus plugin 1.55.0
- Updated AudioSpatializer plugins to 1.55.0
Removed
- Removed
Focus Aware
option since it's now always on by default - Removed
Protected Context
option since it only applied to Go
[1.6.1] - 2020-11-09
Changed
- XR Management dependency changed to 3.2.16
[1.6.0-preview.2] - 2020-10-29
Changed
- Updated AudioSpatializer plugins to 1.52.0
- Added more clarifying text if the Oculus XR Plugin fails to initialize on Windows
Fixed
- Fixed various AudioSpatializer .meta settings and Mac editor support
[1.6.0-preview.1] - 2020-10-23
Added
- Added
bool Unity.XR.Oculus.Boundary.GetBoundaryConfigured()
- Added
bool Unity.XR.Oculus.Boundary.GetBoundaryDimensions(BoundaryType boundaryType, out Vector3 dimensions)
- Added
bool Unity.XR.Oculus.Boundary.GetBoundaryVisible()
- Added
void Unity.XR.Oculus.Boundary.SetBoundaryVisible(bool boundaryVisible)
- Added
void Unity.XR.Oculus.Development.TrySetDeveloperMode(bool enable)
to enable extra Oculus runtime stats. This is enabled by default in development builds
Changed
- Updated to Oculus plugin 1.52.0. Note that this removes support for Go. If you still need to support Go, please use the integrated VR support in 2019.4 LTS, or use package version 1.5.0
- Removed the Android V2 signing setting
- If the Oculus provider is enabled for Android, generated .apk files will no longer attempt to run on non-Oculus Android devices. If you need this to work, consider scripting general Android builds to disable Oculus for that build
Fixed
- Important classes are no longer stripped from Android builds if Minify is set to Proguard in the Android player settings
- Fixed DllImport errors by guarding dllimport calls on unsupported platforms
- Fixed Quest haptics not lasting for their intended duration
- Made the Oculus Dash app termination code more cross platform friendly
- Fixed the build processor to handle scripted build targets correctly
- Fixed
GetLocalTrackingSpaceRecenterCount
log spam - Fixed incorrect check for DX11 setting when building Mac standalone
[1.5.0] - 2020-09-23
Added
- Added Optimize Buffer Discards setting for Vulkan. This prevents depth and MSAA buffers from being resolved, improving GPU performance
Changed
- Added support for detecting if the application has been closed via the Oculus Dash
Fixed
- Oculus libraries are no longer added to player builds when Oculus loader isn't enabled for the target
- The BLUETOOTH permission is no longer added to the Android manifest when the Microphone class is used in a project
- The plugin no longer attempts to initialize when playing in editor on unsupported platforms (Mac/Linux)
- User audio configuration changes at runtime on PC are now respected
- Fixed incorrect manufacturer and removed placeholder serial number information on tracked devices
[1.4.3] - 2020-08-07
Changed
- Updated to Oculus plugin 1.51.1
- Changed the timing of loading and initializing the Oculus plugin
Fixed
- Fixed
ScreenCapture.CaptureScreenshot()
- Fixed a potential crash in eye texture creation
[1.4.0] - 2020-07-07
Added
- Added Oculus intent filter to the Android manifest
Changed
- Bumped the Minimum API Level check up to 23
Fixed
- Fixed a crash when initializing/deinitializing the loader multiple times at runtime
[1.4.0-preview.2] - 2020-07-02
Added
- Mobile settings now support Focus Aware mode, which is enabled by default
Changed
- Updated to Oculus plugin 1.49
- Oculus plugin is now dynamically loaded
- Vulkan swapchain improvements
Fixed
- Go controller mappings weren't displaying correctly when using the Input System
[1.4.0-preview.1] - 2020-06-05
Added
- Added
int Unity.XR.Oculus.Utils.GetFoveationLevel
to retrieve the current FFR setting for mobile - Added
bool Unity.XR.Oculus.Performance.TrySetCPULevel(int level)
for mobile - Added
bool Unity.XR.Oculus.Performance.TrySetGPULevel(int level)
for mobile - Added Low Overhead Mode setting for mobile
- Added Protected Context setting for mobile
Changed
- Consolidated changelog to remove versions that were never publicly released
Fixed
- Fixed an extraneous blit on mobile
- Added correct display names for Oculus devices in the Input System
- Fixed compiler warnings in DeviceLayouts.cs when using Input System 1.0.0+
[1.3.4] - 2020-05-12
Changed
- When Oculus Android is enabled in XR Management, Vulkan is removed from the Android graphics API list. It can manually be added back in to the list
Fixed
- Stats.PluginVersion wasn't properly null terminating the version string. It is now the correct length
[1.3.3] - 2020-04-08
Changed
- Change XR Management dependency to 3.0.6 to resolve a package manager issue
Fixed
- Fixed a breaking change involving an incompatibility with versions of XR Management earlier than 3.2.4
[1.3.1] - 2020-04-03
Changed
- Updated XR Management dependency to 3.2.4
[1.3.0] - 2020-03-16
Changed
- Minor version bump to add a loader callback API method
- Updated XR Management dependency to 3.2.0
- Renamed Oculus loader
- Implement XR Management Metadata interfaces
[1.2.0] - 2020-02-25
Changed
- Remove preview tag
Fixed
- Add missing release notes for 1.1.5
[1.2.0-preview.1] - 2020-02-14
Added
- Public foveation setting API
- Public Oculus statistics APIs
- Improved recentering support
Changed
- Cleans up plugin graphics thread lifecylce
- Cleans up documentation
- Updated to Oculus plugin 1.44
Fixed
- Fixed a crash on exit when using single threaded rendering
- Fixed BeginFrame log spew
[1.1.5] - 2019-12-20
Changed
- Cleans up documentation
[1.1.5-preview] - 2019-12-19
Changed
- Cleans up plugin graphics thread lifecylce
Fixed
- Fixed a manifest merging issue with the 1.44 Oculus Integration assets
[1.1.4] - 2019-12-13
- No changes, version rev only
[1.1.4-preview.1] - 2019-12-12
Changed
- Expands internal performance profiling tooling
- Re-enables GLES2
Fixed
- [Quest] Fixes an issue where resting then waking the device with the power button caused a black screen in the application (v12 Quest runtime and up)
[1.1.4-preview] - 2019-12-03
Fixed
- Occlusion mesh no longer renders in the preview view unless requested by the user
- Fixed an issue where some entries in a custom AndroidManifest.xml were getting removed when V2 signing was enabled
[1.1.3-preview.1] - 2019-11-27
Fixed
- Fixes a crash that occured when building an app without the Android loader in the XR Management list
[1.1.3-preview] - 2019-11-27
Added
- Adds FFR hookup for Quest with Vulkan
[1.1.2] - 2019-11-25
Changed
- Updated documentation
- Updated minimum Unity version required (for Vulkan support)
[1.1.2-preview] - 2019-11-25
Added
- Enables Vulkan support on Quest and Go
- Provider now uses correct occlusion mesh
Known Issues
- Vulkan on Quest does not currently support Multiview, this will be supported in a later release of the Unity Editor
- FFR on Vulkan on Quest is not currently supported, this feature will be supported in a later release of the Unity Editor
[1.1.1] - 2019-11-21
Changed
- Updated XR Management dependency to 3.0.4
- Updated to Oculus plugin 1.41
- Increased the callbackOrder on the Android build processor script so that other scripts can execute first if need be
- Renamed plugin libraries and cleaned up various error messages
Fixed
- Viewport scale in the mirror view now uses scaled UVs
- Fixed a potential manifest collision issue when using v2 signing
[1.1.0] - 2019-10-17
- Version bump to 1.1.0, no changes
[1.1.0-preview] - 2019-10-17
Changed
- Minor version bump for new backwards compatible functionality (color scale API, input subsystem layouts)
[1.0.3-preview.1] - 2019-10-15
Fixed
- Thread safe color scale
- Screenshot artifacts with SPI
[1.0.3-preview] - 2019-09-27
Added
- Color scale and offset api and helper class
- More Oculus statistics (accessible via display subsystem api)
- User presence usage when using new input system
Changed
- Disables main framebuffer flag to save memory (~36MB on Quest)
- Input subsystem layouts to package
Fixed
- Fixed MSAA issues on Quest
- Fixed side-by-side screenshot functionality
[1.0.2] - 2019-09-03
Added
- V2 signing checkbox for properly signed APKs on Quest
Changed
- XR Plugin Management dependency
Fixed
- Input bugs
- Go reported sceondary button when it should have reported a menu button
- Quest and Rift S reported a thumbrest when they did not have one
- Oculus Remote would never connect
- Timing issues upon pausing/resuming app on standalone HMDs
[1.0.0] - 2019-07-10
Added
- Oculus audio spatializer plugin
Changed
- Removed preview tag
- Update XR Management dependency version
- Migrate away from the Experience subsystem
- Update Boundary Points when recentering and changing the tracking space origin mode
- Fixed spatializer .meta files
- Updated to Oculus plugin 1.37
[0.8.4-preview] - 2019-06-10
Added
- Single Pass Instancing support for PC DX11
- Rendering and input support
- Arm64 support for mobile builds
- Depth support
- Render viewport scale
- Eye texture resolution scale
- Culling pose pullback
- Win32 compatibility
- Updates minimum unity version to 2019.2
- Input tracking reference node reporting
- Updates to Oculus plugin 1.34
- XRStats support
- Device relative eye positions
- Recenter functionality
- Registration of tracking references
- Moved tests to a package
- Haptics Functionality