/ Forums
New To The Forum? Click Here To Read The How To Guide. -- Developers Click Here.

Oculus Sample Framework for Unity 5 Project 1.14.0 Released (May 2nd 2017)

imperativityimperativity Posts: 977 Oculus Staff

Oculus Sample Framework for Unity 5 Project 1.14.0

The Oculus Unity Sample Framework assists developers in implementing Unity applications by providing sample scenes and guidelines for common VR-specific features such as hand presence, crosshairs, driving, and first-person movement.

This download includes a Unity Package of the Sample Framework. VR applications of the Sample Framework are also available for the Oculus Rift from our Downloads page, and for the Samsung Gear VR from the Gallery section of the Oculus Store.

This version of the Oculus Sample Framework for Unity 5 pulls in the most recent Avatar SDK and Utilities for Unity versions. Importing the Avatar SDK and Utilities for Unity 5 separately is not required. It is compatible with Unity 5.4 and up – please check Compatibility and Version Requirements for up-to-date Unity version recommendations.

For complete instructions on downloading and using the Sample Framework, see Unity Sample Framework in our developer documentation.

New License for Some Content

This version adds a BSD license to the OVRHarness, OVRInspector, and the Sample Scenes folders of the Unity Sample Framework, granting more permissive rights for re-using assets and scripts, and allowing them to be incorporated into your applications. See the LICENSE.txt in the relevant folders for details.

New Features

  • Added Gear VR Controller menu navigation support for mobile binary and project.

Bug Fixes

  • Fixed Gear VR touchpad navigation issues.

Known Issues

  • Building the Sample Framework project for mobile using Unity 5.6 creates an APK that immediately crashes. The APK is available through the Gallery section of the Oculus Store.
  • Sample Framework Android builds use a custom manifest and are not visible from Applications, and cannot be launched from Oculus Home or the Android Application Launcher. To launch:
    • Install the APK to your phone.
    • Open Settings > Applications > Application Manager > Gear VR Service.
    • Select Storage.
    • Select Manage Storage.
    • Toggle Add icon to app list to On.
    • Close Settings.
    • Open Apps.
    • Select Gear VR Service.
    • Select Oculus Sample Framework to launch.

Download link here: https://developer.oculus.com/downloads/package/oculus-sample-framework-for-unity-5-project/

Comments

  • voidrhythmincvoidrhythminc Posts: 3
    Virtual Boy (or Girl)
    I use Unity 5.6.0f3 (64-bit) to create a new project, import OculusSampleFramework.unitypackage, switch the platform to Android. And then set the startup scene inside the modified LoadAvatar, and finally Build. But the packaging progress has been stuck in Packaging assets - globalgamemanagers.assets, this question needs me how to solve?
  • luckyroyluckyroy Posts: 5
    Virtual Boy (or Girl)
    The sample framework downloaded from oculus home runs between 10 and 15 minutes before my galaxy s7 overheats and the program shuts down. Is there a bug for the s7 that I'm unaware of?
  • SyroniaSyronia Posts: 2
    Virtual Boy (or Girl)
    Hi~ I'm use Unity 5.6.1f1(64bit)... anyway new project >>> import OculusSampleFramework.unitypackage(downloaded 30mins ago) >>> switch platform to android >>> connect Samsung S6 smartphone >>> build and run button click >>> error 
    ==error message is here ==
    ArgumentException: The Assembly UnityEditor is referenced by Assembly-CSharp ('Library/ScriptAssemblies/Assembly-CSharp.dll'). But the dll is not allowed to be included or could not be found.
    UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:142)
    UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:179)
    UnityEditor.HostView:OnGUI()
    == and order error message is here ==
    Error building Player: 2 errors

  • r0b0sarur0b0saru Posts: 34
    Lawnmower Man (or Woman)
    Syronia said:
    Hi~ I'm use Unity 5.6.1f1(64bit)... anyway new project >>> import OculusSampleFramework.unitypackage(downloaded 30mins ago) >>> switch platform to android >>> connect Samsung S6 smartphone >>> build and run button click >>> error 
    ==error message is here ==
    ArgumentException: The Assembly UnityEditor is referenced by Assembly-CSharp ('Library/ScriptAssemblies/Assembly-CSharp.dll'). But the dll is not allowed to be included or could not be found.
    UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:142)
    UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:179)
    UnityEditor.HostView:OnGUI()
    == and order error message is here ==
    Error building Player: 2 errors

    Did you mange to resolve this? I have the same issue.
Sign In or Register to comment.