This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy
This document provides an overview of new features, improvements, and fixes included in the latest version of the Unity 4.x Legacy Integration. For information on first-party changes to Unity VR support for Oculus, see the Unity Release Notes for the appropriate version. You will find an updated scripting reference for the included C# scripts in our Unity Developer Reference.
This public release incorporates all changes from private releases 0.9.0 through 1.3.0. It adds support for PC SDK 1.3, including support for Rift consumer version hardware.
Users may now close applications when switching to Home. When they do this, Unity receives a call from the runtime to close the application. OnApplicationQuit() callback behaviors still work as before. Keep this in mind if you have previously written a custom shutdown procedure.
When VR Focus is lost in Unity 4 applications, all cameras are disabled and Time.timeScale is set to 0. Applications should check Time.timeScale and pause gameplay and audio if it is 0.
Note that Rift and Samsung Gear VR applications will pause rendering when not in focus in VR. Recentering requests initiated from the Universal Menu are now implemented and will be handled automatically by the Unity Integration.
private enum Status
{
Debug = 0,
…
ShouldRecenter,
+ ShouldRecreateDistortionWindow,
}
…
public static bool shouldRecenter { get { return GetStatus(Status.ShouldRecenter); } }
+ public static bool shouldRecreateDistortionWindow { get { return GetStatus(Status.ShouldRecreateDistortionWindow); }