1.6 KiB
1.6 KiB
| uid |
|---|
| arsubsystems-upgrade-guide |
Upgrading to AR Subsystems version 4.2
To upgrade to AR Subsystems package version 4.2, you need to do the following:
- Use new methods to query for occlusion subsystem support.
- Use Unity 2020.3 or newer.
Use new methods to query for occlusion subsystem support
The XROcclusionSubsystemDescriptor provides a means to query for the capabilities of an XROcclusionSubsystem. Previously, these capabilities were booleans, but some platforms may take a few frames to determine a capability. Those bool properties have been deprecated in favor of properties that return a Supported state, which includes a Supported.Unknown state to indicate support for the feature or capability is not yet known. These properties are:
- humanSegmentationStencilImageSupported
- humanSegmentationDepthImageSupported
- environmentDepthImageSupported
- environmentDepthConfidenceImageSupported
Use Unity 2020.3 or newer
This version of the package requires Unity 2020.3 or newer.