OSVR / OSVR-Unity

Package for authoring OSVR experiences with Unity.
Apache License 2.0
98 stars 38 forks source link

Handle error when Recentering without server running #197

Closed DuFF14 closed 7 years ago

DuFF14 commented 7 years ago

avoid this:

ApplicationException: OSVR::SetRoomRotationUsingHead() - native osvrClientSetRoomRotationUsingHead call failed.
OSVR.ClientKit.ClientContext.SetRoomRotationUsingHead () (at z:/j/workspace/Managed-OSVR/ClientKit/ClientKit.cs:584)
OSVR.Unity.SetRoomRotationUsingHead.FixedUpdate () (at Assets/OSVRUnity/Sample/Scripts/SetRoomRotationUsingHead.cs:53)
DuFF14 commented 7 years ago

Fixed in https://github.com/OSVR/OSVR-Unity/pull/205