Forum Discussion
marko_rkm
7 years agoHonored Guest
Virtual Reality SDK Oculus failed to initialize.
Hello, as you have seen in the title I'm having problems to Initialize the Oculus Rift SDK in Unity. I'm working in an app for samsung Gear VR. the versions I'm using are these: Unity 2017.3.1f1 ...
marko_rkm
7 years agoHonored Guest
markhansaven said:
Okay so I think VR is just broken in Unity now? When I start an empty project Google Cardboard does not work. I'm trying Oculus soon, that's very strange though. It's always worked on my computer...
Here's the error I get after building for android when trying to run VR Oculus:03-24 08:58:28.270: D/MdnieScenarioControlService(3702): packageName : com.TestProject.TestUnity className : com.unity3d.player.UnityPlayerActivity03-24 08:58:28.383: E/ExternalPlatformLocal(2026): isAudioHookingEnabledForApplication: com.TestProject.TestUnity03-24 08:58:28.387: A/libc(3503): Fatal signal 6 (SIGABRT), code -6 in tid 3520 (UnityMain)03-24 08:58:28.460: A/DEBUG(3577): pid: 3503, tid: 3520, name: UnityMain >>> com.TestProject.TestUnity <<<03-24 08:58:28.465: A/DEBUG(3577): #10 pc 00002774 /data/app/com.TestProject.TestUnity-1/lib/arm/libvrapi.so (vrapi_Initialize+5240)03-24 08:58:28.465: A/DEBUG(3577): #11 pc 000205f4 /data/app/com.TestProject.TestUnity-1/lib/arm/libOVRPlugin.so (_ZN3OVR4Util15CompositorVRAPI10InitializeEv+160)03-24 08:58:28.465: A/DEBUG(3577): #12 pc 000230e8 /data/app/com.TestProject.TestUnity-1/lib/arm/libOVRPlugin.so (_ZN3OVR4Util15CompositorVRAPI6CreateE17ovrpRenderAPITypePFv12ovrpLogLevelPKcEPviRK11ovrpVersionPPNS0_10CompositorE+96)03-24 08:58:28.465: A/DEBUG(3577): #13 pc 000134b0 /data/app/com.TestProject.TestUnity-1/lib/arm/libOVRPlugin.so (ovrp_Initialize4+84)03-24 08:58:28.465: A/DEBUG(3577): #14 pc 00978404 /data/app/com.TestProject.TestUnity-1/lib/arm/libunity.so03-24 08:58:28.465: A/DEBUG(3577): #15 pc 009780c4 /data/app/com.TestProject.TestUnity-1/lib/arm/libunity.so03-24 08:58:28.465: A/DEBUG(3577): #16 pc 0076c3dc /data/app/com.TestProject.TestUnity-1/lib/arm/libunity.so03-24 08:58:28.465: A/DEBUG(3577): #17 pc 0076bce0 /data/app/com.TestProject.TestUnity-1/lib/arm/libunity.so03-24 08:58:28.465: A/DEBUG(3577): #18 pc 0014be70 /data/app/com.TestProject.TestUnity-1/lib/arm/libunity.so03-24 08:58:28.465: A/DEBUG(3577): #19 pc 002d8a5c /data/app/com.TestProject.TestUnity-1/lib/arm/libunity.so03-24 08:58:28.465: A/DEBUG(3577): #20 pc 004e42b8 /data/app/com.TestProject.TestUnity-1/lib/arm/libunity.so03-24 08:58:28.465: A/DEBUG(3577): #21 pc 004e773c /data/app/com.TestProject.TestUnity-1/lib/arm/libunity.so03-24 08:58:28.465: A/DEBUG(3577): #22 pc 00019939 /data/app/com.TestProject.TestUnity-1/oat/arm/base.odex (offset 0x19000)03-24 08:58:29.142: W/ActivityManager(3702): Force finishing activity com.TestProject.TestUnity/com.unity3d.player.UnityPlayerActivity
I also try to use Google Cardboard, before using Oculus, in the newest verson of Unity (Unity 2017.3.1f1) and I wasn't able to build it, when I open my project these kind of warning messages also appear:I agree with you, maybe with the Unity updates the Oculus assets's scrips use some "old code" in the view of this newest version, Thanks for the support in this problem.
- Assets/OvrAvatar/Samples/SocialStarter/Assets/Scripts/RoomManager.cs(31,15): warning CS0618: `Oculus.Platform.Rooms.SetRoomInviteNotificationCallback(Oculus.Platform.Message<string>.Callback)' is obsolete: `Deprecated in favor of SetRoomInviteAcceptedNotificationCallback'
- Assets/OvrAvatar/Samples/SocialStarter/Assets/Scripts/RoomManager.cs(93,22): warning CS0618: `Oculus.Platform.Models.Room.Owner' is obsolete: `Deprecated in favor of OwnerOptional'
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 months ago
- 3 years ago