Skip to main content
MaxArch
Inspiring
March 4, 2020

Unreal 4.25.X changes and issues

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."




    This topic has been closed for replies.

    65 replies

    New Participant
    May 21, 2020
    My app built on UE 4.25 failed to launch on Oculus quest...
    I could somehow find the error log, but I don't know how to fix the error.
    Does Anyone know if this is an engine bug or my configuration issue?
    Thanks,

    05-21 09:56:20.741  4731  4731 E AndroidRuntime: FATAL EXCEPTION: main
    05-21 09:56:20.741  4731  4731 E AndroidRuntime: Process: com.iky.HoloExistence, PID: 4731
    05-21 09:56:20.741  4731  4731 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "fgets_unlocked" referenced by "/data/app/com.iky.HoloExistence-1/lib/arm64/libUE4.so"...
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at java.lang.Runtime.loadLibrary0(Runtime.java:989)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at java.lang.System.loadLibrary(System.java:1530)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at com.epicgames.ue4.GameActivity.<clinit>(GameActivity.java:6231)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at java.lang.Class.newInstance(Native Method)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at android.app.Instrumentation.newActivity(Instrumentation.java:1079)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2572)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2741)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at android.app.ActivityThread.-wrap12(ActivityThread.java)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:102)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:154)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6165)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
    05-21 09:56:20.741  4731  4731 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
    MaxArch
    MaxArchAuthor
    Inspiring
    May 21, 2020
    @ikyhdst No clue. There are a few issues on Google regarding ... libUE4.so so maybe do a search for that.
    A few suggestions;
    - are you using Vulkan? If so, try if vulkan is disabled.
    - in the project settings - plugins - oculusVR; disable the auto-enabled splash screen. This one caused a few crashes for me
    New Participant
    May 21, 2020
    @MaxArch
    Thank you for your suggestion!
    But I found out this issue was caused by my configuration.
    I managed to solve the problem by changing NDK API Level to `android-19` from 'latest' in "Project Setting|Platforms|Android SDK" .
    However I appreciate your advice!
    Up and Coming
    May 28, 2020
    I'm getting an error with 4.25 oculus src, when I try cook my project. It works with a brand new project, but as soon as I start adding my content I get the following error: use of undefined type 'APlayerController'. Compiles fine in visual studio, only when I cook I get this error. Any suggestions?

    ParallelExecutor.ExecuteActions: Building 3 actions with 12 processes...
    ParallelExecutor.ExecuteActions:   [1/3] Module.OculusInput.cpp
    ParallelExecutor.ExecuteActions:   C:/Code/Oculus src/UnrealEngine/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusInput/Private/OculusHandComponent.cpp(115): error C2027: use of undefined type 'APlayerController'
    ParallelExecutor.ExecuteActions:   C:\Code\Oculus src\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine/World.h(38): note: see declaration of 'APlayerController'
    ParallelExecutor.ExecuteActions:   C:/Code/Oculus src/UnrealEngine/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusInput/Private/OculusHandComponent.cpp(119): error C2027: use of undefined type 'APlayerController'
    ParallelExecutor.ExecuteActions:   C:\Code\Oculus src\UnrealEngine\Engine\Source\Runtime\Engine\Classes\Engine/World.h(38): note: see declaration of 'APlayerController'
    UnrealBuildTool.Main: CompilationResultException: Error: OtherCompilationError
    UnrealBuildTool.Main:    at UnrealBuildTool.ActionGraph.ExecuteActions(BuildConfiguration BuildConfiguration, List`1 ActionsToExecute) in C:\Code\Oculus src\UnrealEngine\Engine\Source\Programs\UnrealBuildTool\System\ActionGraph.cs:line 242
    UnrealBuildTool.Main:    at UnrealBuildTool.BuildMode.Build(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile) in C:\Code\Oculus src\UnrealEngine\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 372
    UnrealBuildTool.Main:    at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments) in C:\Code\Oculus src\UnrealEngine\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 219
    UnrealBuildTool.Main:    at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in C:\Code\Oculus src\UnrealEngine\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 550
    Participant
    June 4, 2020

    UE 4.25 said:

    LogPlayLevel: 06-04 11:41:03.318 4660 4765 D UE4 : Assertion failed: Layout == VK_IMAGE_LAYOUT_UNDEFINED [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp] [Line: 493]
    LogPlayLevel: 06-04 11:41:03.318 4660 4765 D UE4 :
    LogPlayLevel: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]Assertion failed: Layout == VK_IMAGE_LAYOUT_UNDEFINED [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp] [Line: 493]
    LogPlayLevel: 06-04 11:41:03.319 4660 4765 D UE4 :
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: === Critical error: ===
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error:
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: Assertion failed: Layout == VK_IMAGE_LAYOUT_UNDEFINED [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp] [Line: 493]
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error:
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000C64C6F1C libUE4.so(0x000000000611DF1C)![Unknown]() []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000C64AC2FC libUE4.so(0x00000000061032FC)!FVulkanTextureBase::FVulkanTextureBase(FVulkanDevice&, VkImageViewType, EPixelFormat, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int,
    FRHIResourceCreateInfo const&) []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000C64A8C34 libUE4.so(0x00000000060FFC34)!FVulkanDynamicRHI::AsyncReallocateTexture2D_RenderThread(FRHICommandListImmediate&, FRHITexture2D*, int, int, int, FThreadSafeCounter*) []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000CA5A5648 libUE4.so(0x000000000A1FC648)!FTexture2DUpdate::DoAsyncReallocate(FTexture2DUpdateContext const&) []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000CA5A5034 libUE4.so(0x000000000A1FC034)!FTexture2DStreamIn_IO_AsyncReallocate::AsyncReallocate(FTexture2DUpdateContext const&) []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000CA5ADC98 libUE4.so(0x000000000A204C98)!TRenderAssetUpdate::TickInternal(FRenderAssetUpdate::EThreadType, bool) []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000CA58C350 libUE4.so(0x000000000A1E3350)![Unknown]() []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000CA58C784 libUE4.so(0x000000000A1E3784)![Unknown]() []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000C6522004 libUE4.so(0x0000000006179004)!FNamedTaskThread::ProcessTasksNamedThread(int, bool) []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000C6520D8C libUE4.so(0x0000000006177D8C)!FNamedTaskThread::ProcessTasksUntilQuit(int) []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000C7A9BC34 libUE4.so(0x00000000076F2C34)!RenderingThreadMain(FEvent*) []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000C7AC545C libUE4.so(0x000000000771C45C)!FRenderingThread::Run() []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000C6620968 libUE4.so(0x0000000006277968)!FRunnableThreadPThread::Run() []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000C651C480 libUE4.so(0x0000000006173480)!FRunnableThreadPThread::_ThreadProc(void*) []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000EB6A5D84 libc.so(0x0000000000047D84)![Unknown]() []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error: [Callstack] 0x00000000EB678036 libc.so(0x000000000001A036)![Unknown]() []
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error:
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error:
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error:
    LogPlayLevel: Error: 06-04 11:41:03.319 4660 4765 D UE4 : [2020.06.04-08.41.03:319][ 50]LogAndroid: Error:





    Got mine to build but it crashes almost instantly after start and gives this error.
    Seems to be something with Vulkan. Need to test without Vulkan next.

    Was able to build my project and had no crashes using OpenGL.
    Got some widget issues tho, but not sure if they stem from the engine upgrade.

    Participant
    June 4, 2020
    Sorry about the double post...
    Inspiring
    June 5, 2020

    MaxArch said:

    Just updated to the official 4.25.0. Only did one test build. First impression;
    - arm 64 works again for Quest builds.
    - splash screen (default settings in project settings-Oculus) is still broken
    - shader compiling seems a bit faster (havent timed before/after upgrading though)

    will update when I have had more time to test

    @@Mad_Methods No - Oculus hasn't released/created it for UnrealEngine yet. No eta as far as I know.


    Re the splash screen seems better to use the XR splash screen APIs Add Loading Screen Splash from the new XR Loading Screen function library. Not much docs about this
    Up and Coming
    June 9, 2020
    Color Grading Issue on Oculus GO ( Been an issue since 24.0 ). Tried also OculusSource 4.25.0 , and only the Client Color = UNMANAGED come to be something near 4.23 version. Also FPS take a massive hit on this setting...

    Ticket is here : https://developer.oculus.com/bugs/bug/2633758633400646/

    Not to mention that Oculus GO inputs are broken, but atleast work with oculus touch ones
    Inspiring
    June 9, 2020
    Seems like the input mapping for the motion controller menu buttons (the flat buttons below the thumbsticks) are not working in 4.25.  In 4.24, they were Gamepad Special Left / Right.  Anyone know how to access them now?

    EDIT: I found it.  It is Oculus Touch (L) Menu for the left controller.  I guess they already had that in there and just dropped support for the 'Gamepad Special'.
    Up and Coming
    June 11, 2020
    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