cancel
Showing results for 
Search instead for 
Did you mean: 

Unreal 4.25.X changes and issues

MaxArch
Heroic Explorer
New UE version 4.25 - some changes / issues. Lets put them in one topic for an easy overview and catching up..

4.25.0 preview 1
- Too bad, the new Epic-GPU lightmass plugin is not in this version. Target might be 4.26 (if you build the dev branch you get 4.26)
- When you make a build for Quest, it will fail and you need to install a newer NDK (21). Normally its in the UE extras directory. Not yet. Find it here https://developer.android.com/ndk/downloads ; Download it, extract the zip and put it in the NVPACK dir. Change the Dir in the project settings.
- With the new NDK, building for Quest works but it immediately crashes on Quest. There are a few new project settings but haven't found the right combo yet. ADB logcat has: 'Abort message: 'The requested API version in ovrInitParms (1.1.29.0) is not compatible with this version of VrApi Loader (1.1.31.0)!''. No clue if this is a user setting or a Engine-bug. Reported at Epic.
- update 03-05: tried both building a new project and re-using an existing and working 4.24 project. Both crash on Quest. Only difference is the existing project takes longer to crash.
- update 03-06 "The crash on Quest is known and we're working to have it fixed prior to full 4.25 release."




65 REPLIES 65

cookiejar2
Explorer
Hmmm... trying to get our project running on 4.25 (oculus src) again. It still crashes immediatly on the quest, and the log gives me a...

06-12 00:56:07.912 16800 16800 E AndroidRuntime: FATAL EXCEPTION: main
06-12 00:56:07.912 16800 16800 E AndroidRuntime: Process: de.coregames.soar, PID: 16800
06-12 00:56:07.912 16800 16800 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "fgets_unlocked" referenced by "/data/app/de.coregames.soar-1/lib/arm64/libUE4.so"...
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:989)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1530)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at com.epicgames.ue4.GameActivity.<clinit>(GameActivity.java:6210)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at java.lang.Class.newInstance(Native Method)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at android.app.Instrumentation.newActivity(Instrumentation.java:1079)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2572)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2741)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6165)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
06-12 00:56:07.912 16800 16800 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

I tried with/without vulkan enabled. I also tried to set "NDK API Level to `android-19`" as suggested by  ikyhdst somewhere above.

@ikyhdst , could you be so kind to show me the rest of your project settings as well? Vulkan? Mobile HDR? I must admit I'm a bit lost here...

I'll try again with the updated 4.25.1 binary from Epic, maybe that gives a better result.

/hauke


Anonymous
Not applicable
Did you guys notice handtracking had been added? From which unreal version was this? Pity they don't do any plugin feature release announcements on the forums here anymore

motorsep
Rising Star


Did you guys notice handtracking had been added? From which unreal version was this? Pity they don't do any plugin feature release announcements on the forums here anymore


4.25.0 OC fork and they did https://developer.oculus.com/blog/oculus-developer-release-notes-v17/

en-austin
Protege
Haven't tried it yet myself but it's also encouraging to see a hand tracking sample added to the OC UE 4.25 fork:
https://developer.oculus.com/documentation/unreal/unreal-sample-hand-tracking/

MaxArch
Heroic Explorer
Good tip! The blog post is from may 28 so just two weeks ago. I missed that one.
Its a user-only forum now imho. Gone are the days questions would be passed on to the tech people.

twistedpixel_bob
Expert Protege
Just updated to 4.25 and the Quest build crashes at launch.  The adb log shows this.  Any idea how to fix or what is the cause?

Build fingerprint: 'oculus/vr_monterey/monterey:7.1.1/NGI77B/655140.23520.0:user/release-keys'
06-16 15:18:52.260  3291  3291 F DEBUG   : Revision: '0'
06-16 15:18:52.260  3291  3291 F DEBUG   : ABI: 'arm64'
06-16 15:18:52.260  3291  3291 F DEBUG   : pid: 3229, tid: 3229, name: pixelgames.XXXX  >>> com.twistedpixelgames.XXXX <<<
06-16 15:18:52.260  3291  3291 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
06-16 15:18:52.268  3291  3291 F DEBUG   : Abort message: 'Invalid address 0x7f7fd40040 passed to free: value not allocated'
06-16 15:18:52.268  3291  3291 F DEBUG   :     x0   0000000000000000  x1   0000000000000c9d  x2   0000000000000006  x3   0000000000000008
06-16 15:18:52.269  3291  3291 F DEBUG   :     x4   0000007fe097f800  x5   0000000000000000  x6   8000000000808080  x7   0000000000000008
06-16 15:18:52.269  3291  3291 F DEBUG   :     x8   0000000000000083  x9   0000007fa592ba98  x10  ecb68c7c51946546  x11  ecb68c7c51946546
06-16 15:18:52.269  3291  3291 F DEBUG   :     x12  0000000000000000  x13  0000000000000020  x14  ffffffffffffffdf  x15  0000000000000008
06-16 15:18:52.269  3291  3291 F DEBUG   :     x16  0000007fa3661ec8  x17  0000007fa3602ed0  x18  0000000000000000  x19  0000007fa592bb40
06-16 15:18:52.269  3291  3291 F DEBUG   :     x20  0000000000000006  x21  0000007fa592ba98  x22  0000000000000058  x23  0000007fa366c7f8
06-16 15:18:52.269  3291  3291 F DEBUG   :     x24  0000007fa366c864  x25  0000000000000000  x26  0000007f7fd92300  x27  0000007fa5927000
06-16 15:18:52.269  3291  3291 F DEBUG   :     x28  0000000000000001  x29  0000007fe097fca0  x30  0000007fa35ffc84
06-16 15:18:52.269  3291  3291 F DEBUG   :     sp   0000007fe097fc80  pc   0000007fa3602ed8  pstate 0000000060000000
06-16 15:18:52.507  3291  3291 F DEBUG   :
06-16 15:18:52.507  3291  3291 F DEBUG   : backtrace:
06-16 15:18:52.507  3291  3291 F DEBUG   :     #00 pc 0000000000079ed8  /system/lib64/libc.so (tgkill+8)
06-16 15:18:52.507  3291  3291 F DEBUG   :     #01 pc 0000000000076c80  /system/lib64/libc.so (pthread_kill+64)
06-16 15:18:52.507  3291  3291 F DEBUG   :     #02 pc 0000000000024ac0  /system/lib64/libc.so (raise+24)
06-16 15:18:52.507  3291  3291 F DEBUG   :     #03 pc 000000000001cdcc  /system/lib64/libc.so (abort+52)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #04 pc 0000000000021978  /system/lib64/libc.so (__libc_fatal+104)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #05 pc 00000000000a333c  /system/lib64/libc.so (ifree+1480)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #06 pc 00000000000a33c0  /system/lib64/libc.so (je_free+128)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #07 pc 00000000000227d4  /data/app/com.twistedpixelgames.XXXX-1/lib/arm64/libovrplatformloader.so (_ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev+276)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #08 pc 00000000000221f0  /data/app/com.twistedpixelgames.XXXX-1/lib/arm64/libovrplatformloader.so
06-16 15:18:52.508  3291  3291 F DEBUG   :     #09 pc 0000000000022304  /data/app/com.twistedpixelgames.XXXX-1/lib/arm64/libovrplatformloader.so
06-16 15:18:52.508  3291  3291 F DEBUG   :     #10 pc 0000000000011454  /system/bin/linker64 (__dl__ZN6soinfo10call_arrayEPKcPPFvvEmb+348)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #11 pc 000000000000f2fc  /system/bin/linker64 (__dl__ZN6soinfo17call_constructorsEv+140)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #12 pc 000000000000f140  /system/bin/linker64 (__dl__Z9do_dlopenPKciPK17android_dlextinfoPv+2112)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #13 pc 000000000000b788  /system/bin/linker64 (__dl_android_dlopen_ext+60)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #14 pc 00000000000046bc  /system/lib64/libnativeloader.so (_ZN7android17OpenNativeLibraryEP7_JNIEnviPKcP8_jobjectP8_jstring+244)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #15 pc 00000000003275e8  /system/lib64/libart.so (_ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectP8_jstringPS9_+1016)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #16 pc 0000000000004698  /system/lib64/libopenjdkjvm.so (JVM_NativeLoad+284)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #17 pc 00000000005de630  /system/framework/arm64/boot.oat (offset 0x54e000) (java.lang.Runtime.nativeLoad+204)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #18 pc 00000000005de0d0  /system/framework/arm64/boot.oat (offset 0x54e000) (java.lang.Runtime.doLoad+204)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #19 pc 00000000005dff00  /system/framework/arm64/boot.oat (offset 0x54e000) (java.lang.Runtime.loadLibrary0+748)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #20 pc 0000000000601c14  /system/framework/arm64/boot.oat (offset 0x54e000) (java.lang.System.loadLibrary+96)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #21 pc 00000000000d30e8  /system/lib64/libart.so (art_quick_invoke_static_stub+600)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #22 pc 00000000000dff80  /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+256)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #23 pc 00000000002bafa4  /system/lib64/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+312)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #24 pc 00000000002b3894  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+528)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #25 pc 00000000005b12ac  /system/lib64/libart.so (MterpInvokeStatic+356)
06-16 15:18:52.508  3291  3291 F DEBUG   :     #26 pc 00000000000c5994  /system/lib64/libart.so (ExecuteMterpImpl+14612)

andrewtek
Expert Protege
@twistedpixel_bob - Is that a new project, or one you are bringing over from an earlier version of UE4?

twistedpixel_bob
Expert Protege
We just updated from 4.24 to 4.25

andrewtek
Expert Protege
Did you change out your Android dev stack for 4.25? I believe the toolchaion used prior to 4.25 doesn't work anymore and needs to be removed. Now you need to use Android Studio. You may need to make some changes to your Android configurations in UE as well.

twistedpixel_bob
Expert Protege
Well, nevermind.  IDK - suddenly it started running!  I didn't make a new build.  The one that was crashing a few minutes ago now runs... very weird.