cancel
Showing results for 
Search instead for 
Did you mean: 

Unity5 development and building a game error

markHocker
Explorer
Hi there.. when I build and package a game I have develop in unity5, it does create an exe file.. which is correct.. I have the oculus CV1.. in general setting of the oculus application I have tick the "unknown source" tab and I am trying to run my game.. On the oculus, it gives me an error called "unity.exe is taking a while to load...." is there any way to solve this.. please help.
17 REPLIES 17

vrdaveb
Oculus Staff
In Unity, have you enabled the PlayerSetting "Enable Virtual Reality Support"?

markHocker
Explorer
i have this enable.. but the oculus only show a black screen when I am running the exe file.. or I get the error as explained above...

delphinius81
Rising Star
Do you still have Unity running when you try to run the built exe? If so, quit Unity before running your new exe.

vrdaveb
Oculus Staff
Can you share output_log.txt from the _Data folder?

markHocker
Explorer
i will share the out_log.txt

vrdaveb
Oculus Staff
PlatformNotSupportedException: Oculus Utilities version 1.7.0 is too new for OVRPlugin version 0.0.0. Update to the latest version of Unity.
Looks like you are using Unity 5.3.4p4, which uses SDK 0.8 and will no longer work with runtime 1.7. Is there any chance you can update to 5.3.4p5 or newer?

markHocker
Explorer
I have updated unity and all i see is the home domain of the oculus on the oculus rift and not my game that I have build.. I run the exe of the game (build and package in unity).. but there is still no sign of my game... it does work when I run it through unity.. (pressing the blue play button)

markHocker
Explorer
the weird thing for me is that it runs perfctly in unity when you press the blue button, but when I build to make an exe file with "Virtual Reality Supported" on it does not work when I double click on it.. it only shows a black screen on the oculus.. I can not figure out what the problem is.. I have OVR SDK 1.7.0_public and unity5.4.0p4 

markHocker
Explorer
Unity v5.4.0p4, Oculus Utilities v1.7.0, OVRPlugin v1.7.0, SDK v1.7.0.
UnityEngine.Debug:Log(Object)
OVRManager:Awake() (at Assets/OVR/Scripts/OVRManager.cs:555)