This repository has been archived by the owner on Nov 8, 2019. It is now read-only.
GVR SDK for Unity v0.7.0
Upgrade Instructions
- Delete the old Cardboard and Plugin directories before upgrading to the new version of the SDK. Some newer versions of Unity (5.3+) do this for you automatically, but not all.
Fixes
- Fixed a crash bug from using the magnetic trigger or tilt event before loading a level.
- Fixed a bug caused by calling
RenderTexture.Create()
on some phones too early. - Allow the
CardboardReticle
to change distance with non-interactive objects too. - Worked around a crashing bug in Unity when using a native audio plugin.
Additions
- For iOS, bitcode is supplied in the native libraries.
- Added spread and bypass room effect parameters to
CardboardAudioSource
.
Changes
- Minimum supported Android SDK is now KitKat (19).
- For Android, package the Java support code and resources in a .aar file.
- For iOS, the -ObjC Xcode flag is now required by native Cardboard code, and will be added at project build time.
- For iOS, manual Xcode project changes to support Cardboard are no longer required.
Deletions
- Removed legacy support for Unity 4.x
- Removed the TapIsTrigger setting. A screen tap is always treated as a trigger now.
- Removed obsolete Cardboard.cs properties from pre-v0.5
- Removed the onboarding dialog and "sync with Cardboard" option.
Known Issues
- Unity’s Daytime Water (Pro) does not appear to reflect the sky properly in VR.
- iOS Simulator is not supported.
- Can't reliably start a
CardboardAudioSource
fromAwake()
. UseStart()
instead. - Only one
CardboardAudioListener
can exist in the scene. Workaround is to put it on a "Microphone" game object, and reparent it to the current camera. - See also the v0.6 Known Issues.
Changelog
- Removed legacy support for Unity 4.x
- Minimum supported Android SDK is now KitKat (19)
- Removed the TapIsTrigger setting. A screen tap is always treated as a trigger now.
- Removed obsolete Cardboard.cs properties from pre-v0.5
- Removed the onboarding dialog and "sync with Cardboard" option.
- Fixed a crash bug from using the magnetic trigger or tilt event before loading a level.
- Fixed a bug caused by calling RenderTexture.Create() on some phones too early.
- Fixed screen rotation on landscape-default devices.
- Allow the CardboardReticle to change distance with non-interactive objects too.
- Worked around a crashing bug in Unity when using a native audio plugin.
- For Android, package the Java support code and resources in a .aar file.
- For iOS, the -ObjC Xcode flag is now required by native Cardboard code, and will be added at project build time.
- For iOS, bitcode is supplied in the native libraries.
- For iOS, manual Xcode project changes to support Cardboard are no longer required.
- Known issue: iOS Simulator is not supported.
- Known issue: Can't reliably start a CardboardAudioSource from Awake(). Use Start() instead.
- Known issue: Only one CardboardAudioListener can exist in the scene. Workaround is to put it on a "Microphone" game object, and reparent it to the current camera.