# Assert in \`TranslatePriority\` from \[IOSAppDelegate applicationWillResignActive:\] 

**URL:** <https://forums.unrealengine.com/t/assert-in-translatepriority-from-iosappdelegate-applicationwillresignactive/2673162>\
**Category:** Mobile\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [October 7, 2025, 11:06pm UTC](https://forums.unrealengine.com/t/assert-in-translatepriority-from-iosappdelegate-applicationwillresignactive/2673162 "2025-10-07T23:06:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 7, 2025, 11:06pm UTC](https://forums.unrealengine.com/t/assert-in-translatepriority-from-iosappdelegate-applicationwillresignactive/2673162/1 "2025-10-07T23:06:07Z")

</div>

We have intermittent reports in our crash reporter from users. The report say they “just entered” the game (not sure if they mean opened or got into a match).

The relevant code from IOSAppDelegate is:

```auto
FGraphEventRef ResignTask = FFunctionGraphTask::CreateAndDispatchWhenReady([]()
{
    FScopeLock ScopeLock(&RenderSuspend);
}, TStatId(), NULL, ENamedThreads::ActualRenderingThread);

```

And the assert in TaskPrivate.cpp (TranslatePriority) is this:

```auto
check(ThreadIndex == ENamedThreads::GameThread || ThreadIndex == ENamedThreads::GetRenderThread() || ThreadIndex == ENamedThreads::RHIThread);

```

It seems like in CL 39608619 by Ben Zeigler, this assert was changed to be ThreadIndex == ENamedThreads::ActualRenderingThread instead of ThreadIndex == ENamedThreads::GetRenderThread(). Is this a safe change to make in isolation? Should we instead cherry-pick all of CL 39608619? What’s the risk in cherry-picking CL 39608619 if that’s the best route?

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 7, 2025, 11:06pm UTC](https://forums.unrealengine.com/t/assert-in-translatepriority-from-iosappdelegate-applicationwillresignactive/2673162/2 "2025-10-07T23:06:11Z")

</div>

**Steps to Reproduce**

---

<div class="post-metadata">

**Author:** ![step\_jac\_eg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@step\_jac\_eg](https://forums.unrealengine.com/u/step_jac_eg)\
**Post date:** [October 8, 2025, 6:21pm UTC](https://forums.unrealengine.com/t/assert-in-translatepriority-from-iosappdelegate-applicationwillresignactive/2673162/3 "2025-10-08T18:21:31Z")

</div>

Hi Jorgen,

Are you trying to use bRunOnAnyThread on FTickFunction? That did not work well at all in 5.5 and you should just upgrade to 5.6 or 5.7 before doing that. If you’re doing something else we’re curious as how you may be hitting that assertion.

Multithreaded ticking was very unsafe in 5.5 and will probably just crash if you try to use it.

Best regards

---

<div class="post-metadata">

**Author:** ![step\_jac\_eg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@step\_jac\_eg](https://forums.unrealengine.com/u/step_jac_eg)\
**Post date:** [October 10, 2025, 8:27pm UTC](https://forums.unrealengine.com/t/assert-in-translatepriority-from-iosappdelegate-applicationwillresignactive/2673162/4 "2025-10-10T20:27:37Z")

</div>

Hi Jorgen,

After tracing through the code on this end, integrating just the assertion from the CL in question should be safe. However, this is masking a separate issue that shouldn’t have any immediate effect on your end and which we’ll look at internally.

Best regards.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 8, 2025, 9:38pm UTC](https://forums.unrealengine.com/t/assert-in-translatepriority-from-iosappdelegate-applicationwillresignactive/2673162/5 "2025-10-08T21:38:38Z")

</div>

Hi, we are not explicitly setting `bRunOnAnyThread = true` anywhere. This call stack is from code in `[IOSAppDelegate applicationWillResignActive:]`, which is none of our own code. It seems related to what `ENamedThreads::GetRenderThread()` returns?

The reproduction step is rapidly suspending / resuming the application while first launching it. I’m wondering if there’s a point at which the render thread is not the actual render thread if the suspend happens too early?
