Skip to content

v1.5.0

Compare
Choose a tag to compare
@chaosemer chaosemer released this 30 Apr 00:32
· 20 commits to master since this release

Cardboard SDK v1.5.0 (2021-04-29)

Breaking & behavioral changes

None.

New APIs and capabilities

  • Updated third_party/unity_plugin_api to the version from Unity 2020.2.5f1.
  • Fixed #11: Metal is supported on iOS. On Unity, this only works on 2020.1 and above, see known issue below.
  • Fixed #90: GitHub actions-driven CI added.

Deprecations

None.

Other changes

  • Added "cardboard_oss_" prefix to icon names to avoid name collisions in Android applications.
  • Removed requirement of calling Cardboard_initializeAndroid() before CardboardQrCode_getCardboardV1DeviceParams() on Android.
  • Silenced OpenGL deprecation warnings in Xcode.
  • Removed unneeded Quaternion to Rotation conversion in HeadTracker::GetPose().
  • Added cache of JNI global references for all jclass instances on Android to avoid unintended reference invalidation. See JNI Tips - Local and global references for further information.
  • Removed unused functionality from the SensorFusionEkf class. It will always use the gyroscope bias prediction.
  • Replaced PoseState by RotationState and the use of pose by rotation to improve accuracy and simplify the code.
  • Removed unused function HeadTracker::GetDefaultOrientation().
  • Removed unused function cardboard::pose_prediction::PredictPoseInv().
  • Upgraded Protobuf Gradle plugin version to 0.8.15 and Protobuf dependency to 3.8.0. This is expected to fix #237.
  • Added iOS framework dependencies in cardboard_api.a.meta to avoid linking errors when building a Unity app.

Bug fixes

  • Fixed #164 and #193: Bad head tracking due to using incorrect clock base.
  • Fixed #166: Build errors in Xcode project.
  • Fixed #182: Rendering broken after scanning improper QR codes. Now in these cases we will return Cardboard Viewer v1 device parameters.
  • Fixed #207 via #211: No stereo rendering in Unity.
  • Fixed #246: This release was not yet out.
  • Fixed #249: Build errors on Unity 2020.2 or later with iOS.

Known issues

  • #245: When using Unity on Android devices, Optimized Frame Pacing option is not supported. Note that in Unity 2020.1 and above Optimized Frame Pacing is enabled by default so developers must turn off the option.
  • #251: When using XR Management package 3.2.14 or greater, a warning is logged when importing Cardboard XR Plugin. This warning refers to a bad project configuration in the Cardboard XR Plugin. It can be safely ignored and will be fixed in a future release. This was observed in Unity 2021.1 which defaults to XR Management 4.0.1.
  • #252: When scanning a QR code in Unity, an incorrect camera orientation will be seen. This issue takes place only on Pixel 3 XL, when the app is launched in portrait mode, and there are no saved device parameters causing the QR code scanner to be launched at startup.
  • #253: When in VR mode in Unity, the eyes may be rendered in the wrong location when the app is launched for the first time. Minimizing the app and maximizing it again fixes the issue.
  • Unity bug #1329845: Metal support does not work on Unity 2019.3 or 2019.4.
  • Workaround for Unity bug #1329846: Added IOSurface iOS framework dependency directly to the library meta file.
  • Workaround for Unity bug #1329853: When using Metal, a fullscreen black texture is rendered on each draw call.
  • Unity issue #1291276: When importing the Cardboard XR Plugin sample project in Unity 2020.3 or later, a warning is logged related to the AssetDatabase path and the scene. This warning can be safely ignored.