Download

Issues getting Unreal project run on the Quest

Hello everyone,
First of all, sorry if my english isn’t so good. I hope its good enough to understand my problem :wink:

I try to develop an application for the Oculus Quest.
Everything is configured with tutorials and the Quest is in Developer mode.

I’ve startet a Project with the VR Template and made all the settings with an Tutorial.
For testing i just used the standart “MotionControllerMap” and packed the Project for Android (All).

After the packaging was finished i’ve sideloaded the apk with Sidequest,
The installation works and i can find my app in the library of my Quest.

But the Problem is, if i try to start the app, The screen gets black for a second and the app closes immediately without any message.

I think, i’ve used every Tutorial in the internet and getting a bit frustrated, cause it seems like i’m the only one with this problem :confused:

It has to be an UE Issue, cause, other Apps I’ve sideloaded work perfectly.

I hope, i described the problem understandable, and someone here can help me, setting up my project correct. :wink:

Hello Bantol,

I have exactly the same issue.

The only solution I found that works most of the time is to reboot the Quest and launch the app from the unknown source menu.

Here is a little python script that I run after Unreal has finished the build :

https://gist.github.com/ivanjames69/3175265b047dad61c817ea0a08cd5dd1

If anyone has a REAL solution I’m interested ! :slight_smile:

Try the action in this video from the link below to get a quick start. Use the launcher standard version 4.23 for beginning it works fine if you follow all step in the video.

https://www.youtube.com/watch?v=jlcj4HB9LX8

Same problem here, Running XXXXX on quest, but it close with no mesage, it was working fine last 2 days but sudently this happens :frowning:

And if you reboot your Quest and launch the app manually does it work ?

I resolved this by using the oculus branch (4.22.2 in my case) of ue4. Works fine so far. I only encountered problems with the launcher version on go and quest.

No bro,the other maps on my app runs fine but not this evil one.

If i reboot and open manually, the app runs fine until it arrives to this map. Turns black and go back to oculus home.

I passed the map to a partner and he can run fine in his oculus. It blows my mind.

On my part I’m having the same issue with the Oculus branch 4.22.2 (game is crashing after build, works only after reboot of Quest, sometimes after two reboots).

I can try it on my Quest too if you want, maybe there’s some defective Quests.

I was having this problem found out you have to turn on “configure the androidmanifest for deployment to oculus mobile” under Advanced APK Packaging.

if there is no it
what should I make guys?

They’ve changed it from version 4.23 - you need to expand the ‘Package for Oculus Mobile Devices’ section and specify the Quest in the drop-down menu,

dear bantol have you solve the problem ?.. i am facing exactly the same problem … and just stuck… :frowning:

Yes, i have the same and i can’t fix that… Just closed on opening in Quest

same issue here, 4.25. No idea what’s going wrong or how to fix it.

Not sure if this was solved for you, but I ran into this issue. Make sure you actually specify the NDK version [android-19] rather than [latest].


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<FTexture2DUpdateContext>::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:

Does anyone have ideas what is causing this? As far as I understand, it has something to do with Vulkan?

Recently upgraded to 4.25 and it was a huge struggle to get it to even build for Quest, and now it crashes almost immediately after startup. The Level doesn’t even have anything heavy in it. Just a widget main menu.

Tested starting a level with much more going on and it run longer before crashing.

Edit: Switched to OpenGL and now it builds and runs without crashes. Is Vulkan for Quest Broken?

This is why I haven’t moved from 4.24.3 yet. I haven’t seen any step guides on how to get 4.25 (or even 4.25.1 now) to run on a Quest.

This page has info on getting started on Quest using 4.25. Should still apply to 4.25.1.

@ITNoetic Thank you! I have to uninstall everything from 4.24.3 though right to get this to work?

This fixed it for me, thanks!