com.unity.xr.arfoundation 1.0.0-preview.18

com.unity.xr.arfoundation

Notes: processedReleased April 3, 2019

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2018.1

🔧 Bug Fixes

  • The `ARPlaneMeshVisualizer` did not disable its visible components (`MeshRenderer` and `LineRenderer`) when disabled. This has been fixed.

🔄 Changes

  • The `ARPlaneManager`, `ARPointCloudManager`, and `ARReferencePointManager` all instantiate either prefabs that you specify or `GameObject`s with at least an `ARPlane`, `ARPointCloud`, or `ARReferencePoint`, respectively, on them. The instantiated `GameObject`'s layer was set to match the `ARSessionOrigin`, overwritting the layer specified in the prefab. This has been changed so that if a prefab is specified, no changes to the layer are made. If no prefab is specified, then a new `GameObject` is created, and its layer will match that of the `ARSessionOrigin`'s `GameObject`.

📈 Improvements

  • Added `ARPlane.normal` to get the `ARPlane`'s normal in world space.
  • ### LWRP support
  • Added LWRP support by allowing `ARCameraBackground` to use a background renderer that overrides the default functionality. This works in conjunction with some *LWRPSupport* files (see arfoundation-samples) that will live in your LWRP project.