This repository has been archived by the owner on Sep 14, 2021. It is now read-only.
ARCore SDK for Unity v1.5.0
EDIT 2018-01-12: Removed issue #297 (Cannot create Augmented Image database if the Unity project has a space in the name.) from the list of 'Bug fixes' as the issue is not actually fixed in 1.5.0
Breaking changes
None.
New APIs
- API for accessing a unique ID associated with point cloud points, to discern if the same point is seen across multiple frames. Note: This API is not yet available in Instant Preview. Point cloud IDs will always be 0 when running in play mode in the editor.
- API for adding images to an Augmented Image database at runtime.
Deprecations
Frame.PointCloud.CopyPoints()
has been deprecated without replacement. Instead, iterate over the points in the point cloud and manually copy desired points manually.Frame.PointCloud.GetPoint()
has been deprecated in favor ofFrame.PointCloud.GetPointAsStruct()
, which returns a struct that also contains a unique ID for each point.
Behavioral changes
- In Unity 2018.2.1 and later (using the new
PlayerSettings.Android.ARCoreEnabled
Unity API), show a warning message when XR Settings > ARCore Support is not enabled and build platform is set to Android. - When ARCore needs to be installed or updated, AR Optional apps will no longer display an initial screen informing the user that ARCore is required and instead immediately show the install screen.
- The First Person Camera (a child of the ARCore Device prefab) has new
TrackedPoseDriver
settings. Specifically, the 'Update Type' member has changed from a value of 'Before Render' to 'Update'. This maintains synchronization of the First Person Camera transform with other elements in the scene by default. - `Session.RequestApkInstallation(bool)' now defaults to skipping the user education dialog for AR Optional apps.
Other changes
- Added
inputString
toInstantPreviewInput.cs
. - Added a compile time error message when using an unsupported versions of Unity.
- Added
SuppressMemoryAllocationError
attribute to mark explicitly the methods that can allocate memory. - Fix for
ReflectionTypeLoadException
in Unity 2018.3. - Added better error handling when resolving a XP Anchor.
- Added ARM 64 support.
- Added Android Emulator support.
Bug fixes
- Fixed #212: Unity experimental Linux compile errors.
- Fixed obsolete warnings in 2018.1 and later.
- Fixed #275: ARCore is causing Unity Cloud Build to fail.
- Fixed #297: Cannot create Augmented Image database if the Unity project has a space in the name.
- Fixed #357: Instant Preview initalizes but does not transmit or receive data.
- Fixed issue where Instant Preview would stop streaming after pausing or backgrounding the Unity game window.
- Fixed #277: Background renderer doesn't work when using OpenGLES2 graphics API.
- Fixed issue where image names and Cloud Anchor IDs sometimes contain extra characters at the end when using Instant Preview.
- ARCore SDK for Android issue #419: Added a workaround that should reduce or eliminate cases of poor or no motion tracking on Qualcomm-based Samsung Galaxy S9, S9+ and Note9 devices.
- ARCore SDK for Android issue #469: Resolved a race condition that could cause ARCore to report a device as unsupported immediately after ARCore is updated.
- Resolved some cases where
Session.RequestApkInstallation(bool)
could result in a 'Session.Status' of FatalError.