# \[Android\] Crash on some powerful devices FVulkanViewport::DoAcquireImageIndex

**URL:** <https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241>\
**Category:** Mobile\
**Tags:** lag, unreal-engine, crash, Android, question\
**Created:** [August 9, 2021, 5:22pm UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241 "2021-08-09T17:22:16Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Semantyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Semantyx](https://forums.unrealengine.com/u/Semantyx)\
**Post date:** [August 9, 2021, 5:22pm UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241/1 "2021-08-09T17:22:16Z")

</div>

Hi, I have lags and crushes with Vulkan on some specific devices, my game is already released in GP, and I receive this crushes info from GP reports. I tested my game on over 10 different devices, and I can’t reproduce this crash. It crashes even on powerful devices, although I tested my game on weak devices, and everything was fine. Please help me, someone

 ![345950-screenshot-5.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/8/4387cee986324b33626816cc851ea78b6994ab43.png)

---

<div class="post-metadata">

**Author:** ![PowerDesign](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PowerDesign](https://forums.unrealengine.com/u/PowerDesign)\
**Post date:** [December 2, 2021, 6:22am UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241/2 "2021-12-02T06:22:33Z")

</div>

Which phones do you experience this crash on?

---

<div class="post-metadata">

**Author:** ![PowerDesign](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PowerDesign](https://forums.unrealengine.com/u/PowerDesign)\
**Post date:** [December 3, 2021, 5:12am UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241/3 "2021-12-03T05:12:11Z")

</div>

If it is reproduced on a phone, it always reproducible on that phone, right?

---

<div class="post-metadata">

**Author:** ![bp2016](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bp2016](https://forums.unrealengine.com/u/bp2016)\
**Post date:** [March 10, 2022, 1:47pm UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241/4 "2022-03-10T13:47:56Z")

</div>

I’m curious if anyone ever solved this crashing problem. I have an app in open testing right now, and I’ve seen this exact same crash and stack trace on two separate Samsung Galaxy S21 Ultra 5G phones running Android 12.

My app uses Unreal Engine 4.27.2, if that helps at all.

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [March 10, 2022, 3:34pm UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241/5 "2022-03-10T15:34:23Z")

</div>

Sounds like a Samsung graphics driver bug. Does Samsung have any kind of developer support/evangelism you could engage to push them to fix it?  
(It will of course still take months before fixes start hitting devices …)

---

<div class="post-metadata">

**Author:** ![Tre-Cool-Fox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tre-cool-fox/32/468473_2.png) [@Tre-Cool-Fox](https://forums.unrealengine.com/u/Tre-Cool-Fox)\
**Post date:** [April 5, 2022, 9:30am UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241/6 "2022-04-05T09:30:12Z")

</div>

I am still in development for my app, but experienced the same issue today on my Galaxy Fold 2.

```auto
backtrace:
split_config.arm64_v8a.apk!libUE4.so (FVulkanViewport::DoAcquireImageIndex(FVulkanViewport*)+16)
split_config.arm64_v8a.apk!libUE4.so (FVulkanViewport::DoCheckedSwapChainJob(TFunction<int (FVulkanViewport*)>)+96)
split_config.arm64_v8a.apk!libUE4.so (FVulkanBackBuffer::AcquireBackBufferImage(FVulkanCommandListContext&)+104)
split_config.arm64_v8a.apk!libUE4.so (FVulkanCommandListContext::RHIEndTransitions(TArrayView<FRHITransition const*, int>)+1044)
split_config.arm64_v8a.apk!libUE4.so (FRHICommandEndTransitions::Execute(FRHICommandListBase&)+52)
split_config.arm64_v8a.apk!libUE4.so (FRHICommandListExecutor::ExecuteInner_DoExecute(FRHICommandListBase&)+168)
split_config.arm64_v8a.apk!libUE4.so (FExecuteRHIThreadTask::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&)+164)
split_config.arm64_v8a.apk!libUE4.so (TGraphTask<FExecuteRHIThreadTask>::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type)+52)
split_config.arm64_v8a.apk!libUE4.so (FNamedTaskThread::ProcessTasksNamedThread(int, bool)+244)
split_config.arm64_v8a.apk!libUE4.so (FNamedTaskThread::ProcessTasksUntilQuit(int)+108)
split_config.arm64_v8a.apk!libUE4.so (FRHIThread::Run()+72)
split_config.arm64_v8a.apk!libUE4.so (FRunnableThreadPThread::Run()+96)
split_config.arm64_v8a.apk!libUE4.so (FRunnableThreadPThread::_ThreadProc(void*)+68)
  #00 pc 00000000000b6e44 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
  #00 pc 0000000000053454 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

```

Regarding the lag I can confirm as well, that on my older Samsung s8 the game runs smooth. On the Fold 2 I see every 10-15 Seconds a drop to 10 fps for another 5-10 seconds.  
Still analyzing this. If someone else faced these issue and found a solution I am happy to hear about it.

---

<div class="post-metadata">

**Author:** ![bp2016](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bp2016](https://forums.unrealengine.com/u/bp2016)\
**Post date:** [May 3, 2022, 2:15pm UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241/7 "2022-05-03T14:15:37Z")

</div>

I still don’t have any ideas on how to fix this crash, but I’ve now seen it on numerous different devices…mostly newer Samsung phones, but also an LG phone.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/f/65f8ae94d51c5d304f6d256ed3cdb0cfb1123384.png)

I know it’s been suggested that this could be a graphics driver bug, but could it also be possible that there is something about my specific game that is causing this crash? Something wrong with a texture file, for example.

Does anyone have any ideas on what kind of things I could look for, or how I could debug my scenes to look for possible problems? Unfortunately, I haven’t been able to replicate this problem on any test devices…all the crashes are occurring on user devices.

If anyone has any ideas, I’d really appreciate it…I’m not sure how to proceed here.

---

<div class="post-metadata">

**Author:** ![Tre-Cool-Fox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tre-cool-fox/32/468473_2.png) [@Tre-Cool-Fox](https://forums.unrealengine.com/u/Tre-Cool-Fox)\
**Post date:** [June 29, 2022, 6:42pm UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241/8 "2022-06-29T18:42:17Z")

</div>

Now this issue pops up on several different phones for different users. This issue happens way to often to be ignored. Would be great if anyone could help us on this topic.

It happens when the app enters foreground after entering background. So every time the user leaves the app and comes back this issue can appear. It currently happens to 7% of my users.

---

<div class="post-metadata">

**Author:** ![Tre-Cool-Fox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tre-cool-fox/32/468473_2.png) [@Tre-Cool-Fox](https://forums.unrealengine.com/u/Tre-Cool-Fox)\
**Post date:** [July 5, 2022, 11:05pm UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241/9 "2022-07-05T23:05:47Z")

</div>

Update from my side.  
Upgrading to Unreal engine 5 does not solve this issue.  
I still get this error on my Samsung devices and my users getting it on other devices as well.

---

<div class="post-metadata">

**Author:** ![thainhatminh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thainhatminh](https://forums.unrealengine.com/u/thainhatminh)\
**Post date:** [January 11, 2024, 4:02pm UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241/10 "2024-01-11T16:02:10Z")

</div>

Hi, Does anyone ever solved this crashing?

My crash has similar callstack and happen mostly on Samsung phone.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/f/ecf9bbf56660be407193e87bd04562607be0fb63.png)

---

<div class="post-metadata">

**Author:** ![thainhatminh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thainhatminh](https://forums.unrealengine.com/u/thainhatminh)\
**Post date:** [January 12, 2024, 4:40am UTC](https://forums.unrealengine.com/t/android-crash-on-some-powerful-devices-fvulkanviewport-doacquireimageindex/487241/11 "2024-01-12T04:40:23Z")

</div>

Seem issue is fixed in UE5.3  
[https://github.com/EpicGames/UnrealEngine/commit/0f779eae4d262ee63b2cb9ddfbaef49fc70696e4](https://github.com/EpicGames/UnrealEngine/commit/0f779eae4d262ee63b2cb9ddfbaef49fc70696e4)
