Forum Discussion
mouse_bear
6 years agoRetired Support
Oculus Unreal Integration - v1.36 (04/23/19)
Version 1.36 of our integration for Unreal Engine 4.22.0 and 4.21.2 have been released!
For more information, see our Unreal Engine Developer Guide.Note: You must log into a subscribed GitHub account first, otherwise you will get a 404 error from the link below.
You can grab the latest version of the Oculus UE4 Source here:
- 4.22.0: https://github.com/Oculus-VR/UnrealEngine/tree/4.22
- 4.21.2: https://github.com/Oculus-VR/UnrealEngine/tree/4.21
New Features
- Added the OVRPlatform Tool to the Unreal Integration. The OVRPlatform Tool enables builds to be submitted directly from the Unreal Editor.
- Moved ovrp_WaitToBeginFrame to the start of the game thread to reduce the latency between the start of game frame and the frame being visible.
Integration Changes
- Updated the Oculus Unreal Integration to 1.36.
- Updated the Audio integration to 1.36.
- Updated the Avatars integration to 1.36.
- Deprecated support of the Oculus audio plugin on Android.
Bug Fixes
- Fixed an issue where a mirrored window may have been displayed incorrectly.
- Fixed an issue where any call to the blueprint SetSplashScreen after the first would not have any effect.
- Fixed an issue where some splash screen frames executed out of order with game thread frames.
- Fixed an issue where hiding a splash screen on Android platforms would write data into unallocated memory.
Known Issues
- A significant drop in frame rate occurs when UE4 is not in focus in VR preview mode. To avoid this issue, uncheck the Use Less CPU when in Background in Edit > Editor Preferences > General (left sidebar) > Miscellaneous (left sidebar) > Performance.
- Exclusive Mode issues: Setting the mirror window to full-screen exclusive mode will not work correctly if the monitor and HMD are connected to different GPUs.
11 Replies
Replies have been turned off for this discussion
- NeontopHeroic ExplorerI'm going to upgrade asap to 4.22 to see if all the good things are unreal .?
- Mosel3yExplorer@NinjaGaijin
Bug?:
Shipping builds crash on launch, only on Gear VR.
Repo:
1. Make a new project
2. In Android settings Package for Oculus Mobile devices, Add Oculus Go/ Gear VR
3. Package for Android, Shipping configuration
4. Install on mobile device (I've tested S6 and S7)
5. Run app
It will crash immediately.
Log:DEBUG(22895): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***DEBUG(22895): Build fingerprint: 'samsung/zerofltexx/zeroflte:7.0/NRD90M/G920FXXU6ERF5:user/release-keys'DEBUG(22895): Revision: '11'DEBUG(22895): ABI: 'arm'DEBUG(22895): pid: 22797, tid: 22893, name: OVR::TimeWarp >>> com.ProteusVR.AndroidTest_Avatars <<<DEBUG(22895): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------DEBUG(22895): Abort message: 'eglCreateContext failed: EGL_BAD_ATTRIBUTE'DEBUG(22895): r0 00000000 r1 0000596d r2 00000006 r3 00000008DEBUG(22895): r4 c157c978 r5 00000006 r6 c157c920 r7 0000010cDEBUG(22895): r8 c1b21080 r9 c157c700 sl c1b2108c fp c157c6c4DEBUG(22895): ip 00000000 sp c157c1b8 lr f242d9c7 pc f2430230 cpsr 600f0010DEBUG(22895): backtrace:DEBUG(22895): #00 pc 0004a230 /system/lib/libc.so (tgkill+12)DEBUG(22895): #01 pc 000479c3 /system/lib/libc.so (pthread_kill+34)DEBUG(22895): #02 pc 0001d9c5 /system/lib/libc.so (raise+10)DEBUG(22895): #03 pc 00019511 /system/lib/libc.so (__libc_android_abort+34)DEBUG(22895): #04 pc 00017150 /system/lib/libc.so (abort+4)DEBUG(22895): #05 pc 00005903 /system/lib/liblog.so (__android_log_assert+114)DEBUG(22895): #06 pc 00126ca8 /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #07 pc 0010a700 /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #08 pc 00108da4 /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #09 pc 00108d6c /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #10 pc 00047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)DEBUG(22895): #11 pc 00019f6d /system/lib/libc.so (__start_thread+6)
--
I believe the problem is in OculusHMD.cpp. Line 2175:#if PLATFORM_ANDROID && USE_ANDROID_EGL_NO_ERROR_CONTEXTovrp_SetupDistortionWindow3(ovrpDistortionWindowFlag_NoErrorContext);#elseovrp_SetupDistortionWindow3(ovrpDistortionWindowFlag_None);#endif // PLATFORM_ANDROID && USE_ANDROID_EGL_NO_ERROR_CONTEXT
After changing "ovrpDistortionWindowFlag_NoErrorContext", to "ovrpDistortionWindowFlag_None", it will run on Gear VR, however it will now crash on the Oculus Go.
Am I the only one getting this result ? - mouse_bearRetired Support
- Anonymous
Mosel3y said:
@NinjaGaijin
Bug?:
Shipping builds crash on launch, only on Gear VR.
Repo:
1. Make a new project
2. In Android settings Package for Oculus Mobile devices, Add Oculus Go/ Gear VR
3. Package for Android, Shipping configuration
4. Install on mobile device (I've tested S6 and S7)
5. Run app
It will crash immediately.
Log:DEBUG(22895): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***DEBUG(22895): Build fingerprint: 'samsung/zerofltexx/zeroflte:7.0/NRD90M/G920FXXU6ERF5:user/release-keys'DEBUG(22895): Revision: '11'DEBUG(22895): ABI: 'arm'DEBUG(22895): pid: 22797, tid: 22893, name: OVR::TimeWarp >>> com.ProteusVR.AndroidTest_Avatars <<<DEBUG(22895): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------DEBUG(22895): Abort message: 'eglCreateContext failed: EGL_BAD_ATTRIBUTE'DEBUG(22895): r0 00000000 r1 0000596d r2 00000006 r3 00000008DEBUG(22895): r4 c157c978 r5 00000006 r6 c157c920 r7 0000010cDEBUG(22895): r8 c1b21080 r9 c157c700 sl c1b2108c fp c157c6c4DEBUG(22895): ip 00000000 sp c157c1b8 lr f242d9c7 pc f2430230 cpsr 600f0010DEBUG(22895): backtrace:DEBUG(22895): #00 pc 0004a230 /system/lib/libc.so (tgkill+12)DEBUG(22895): #01 pc 000479c3 /system/lib/libc.so (pthread_kill+34)DEBUG(22895): #02 pc 0001d9c5 /system/lib/libc.so (raise+10)DEBUG(22895): #03 pc 00019511 /system/lib/libc.so (__libc_android_abort+34)DEBUG(22895): #04 pc 00017150 /system/lib/libc.so (abort+4)DEBUG(22895): #05 pc 00005903 /system/lib/liblog.so (__android_log_assert+114)DEBUG(22895): #06 pc 00126ca8 /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #07 pc 0010a700 /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #08 pc 00108da4 /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #09 pc 00108d6c /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #10 pc 00047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)DEBUG(22895): #11 pc 00019f6d /system/lib/libc.so (__start_thread+6)
--
I believe the problem is in OculusHMD.cpp. Line 2175:#if PLATFORM_ANDROID && USE_ANDROID_EGL_NO_ERROR_CONTEXTovrp_SetupDistortionWindow3(ovrpDistortionWindowFlag_NoErrorContext);#elseovrp_SetupDistortionWindow3(ovrpDistortionWindowFlag_None);#endif // PLATFORM_ANDROID && USE_ANDROID_EGL_NO_ERROR_CONTEXT
After changing "ovrpDistortionWindowFlag_NoErrorContext", to "ovrpDistortionWindowFlag_None", it will run on Gear VR, however it will now crash on the Oculus Go.
Am I the only one getting this result ?
I'm getting this crash as well - could you link the bug report ticket once it's available? - Mosel3yExplorer
- NeontopHeroic ExplorerHello @NinjaGaijin with the 1.36 the Oculus Avatar
In multiplayer is broken as there is a change in the ovrAvatarManager.
They commented out theQueueAvatarPacketServer function and now it is not possible to replicate the Avatar.
Can you check with the dev when they will provide a solution?
Thanks. - NeontopHeroic ExplorerOk this is about the new avatar:
- NeontopHeroic ExplorerHello @NinjaGaijin I was looking at this information about the new Avatar in UE. I don't understand those informations compared with the one above.
- JimRJDMExplorerHi
I've installed Unreal 4.22.1 but it still has version 1.32 of the Oculus VR plugin.
We're having significant problems with Rift and Unreal Engine with 1.32 of the plugin
So....Is there a way I can download and update the Oculus VR plugin from 1.32 to 1.36 from within the Unreal editor?
If so where can I download V 1.36 and how do I then install it?
Or is the "download binary from GitHub and then compile" the only way to get Unreal and 1.36? (I really hope not)
Cheers
Jim - NeontopHeroic Explorer1.37 is out ;)
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
- 6 years ago