Here is what I did to get the Rift working with Unity Free:
- - Download the latest Unity 4 Integration (ovr_unity_0.2.1_lib.zip)
- - Copy everything inside "ovr_unity_0.2.1_lib\OculusUnityIntegration\Win_OculusUnityDemoScene_Data\Plugins" into your "C:\Program Files (x86)\Unity\Editor" folder
- - Open your Project in Unity
- - Double click on "ovr_unity_0.2.1_lib\OculusUnityIntegration.unitypackage" to import OVR into your project
- - Drag an OVRPlayerController prefab into your level
- - Build your project
- - If you try playing at this point, you will get side-by-side and head tracking, but no warp
- - Download and extract the attached UnityRiftWarp_v0_1b.zip
- - Copy "d3d9.dll' and "WarpRift.fx" into your built unity project directory
- - If you play now, it should have warping