# Iris: unresolved-reference hot/cold cache never transitions on ARM64 (CurrTimeMS overflows uint32) 

**URL:** <https://forums.unrealengine.com/t/iris-unresolved-reference-hot-cold-cache-never-transitions-on-arm64-currtimems-overflows-uint32/2860416>\
**Category:** Programming & Scripting\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [October 20, 2026, 8:59pm UTC](https://forums.unrealengine.com/t/iris-unresolved-reference-hot-cold-cache-never-transitions-on-arm64-currtimems-overflows-uint32/2860416 "2026-10-20T20:59:29Z")\
**Posts on this page:** 3\
**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 20, 2026, 8:59pm UTC](https://forums.unrealengine.com/t/iris-unresolved-reference-hot-cold-cache-never-transitions-on-arm64-currtimems-overflows-uint32/2860416/1 "2026-10-20T20:59:29Z")

</div>

In _FReplicationReader::ResolveAndDispatchUnresolvedReferences_, the following timer code is called

_const uint32 CurrTimeMS = static\_cast\<uint32\>(FPlatformTime::Seconds() \* 1000.0f);_

On Apple (and Windows), _FPlatformTime::Seconds_ has a hardcoded offset value of 16777216 (in UE 5.7.3) and a dedicated function _GetSecondsTimeOffset()_ for this offset (in UE 5.8).

So Seconds() \* 1000 is at least 1.68×10¹⁰ and that’s always larger than UINT32\_MAX

, and the conversion is undefined behavior.While x64 wraps, on ARM64 the conversion saturates, so CurrTimeMS is always 0xFFFFFFFF

We caught this due to entries never transition from the HotUnresolvedHandleCache to ColdUnresolvedHandleCache

Here was the fix:

// const uint32 CurrTimeMS = static\_cast\<uint32\>(FPlatformTime::Seconds() \* 1000.0f);

_const uint32 CurrTimeMS = static\_cast\<uint32\>(static\_cast\<uint64\>(FPlatformTime::Seconds() \* 1000.0));_

---

<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 20, 2026, 8:59pm UTC](https://forums.unrealengine.com/t/iris-unresolved-reference-hot-cold-cache-never-transitions-on-arm64-currtimems-overflows-uint32/2860416/2 "2026-10-20T20:59:32Z")

</div>

**Steps to Reproduce**  
Profile a game on iOS with unresolved references, as a result of `CurrTimeMS - *LifetimeMS` is always 0:

- Handles never move from `HotUnresolvedHandleCache` to `ColdUnresolvedHandleCache`.
- Every unresolved handle is re-resolved on every call.
- `net.Iris.HotResolvingLifetimeMS` and `net.Iris.ColdResolvingRetryTimeMS` have no effect.

---

<div class="post-metadata">

**Author:** ![akoumandarakis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/akoumandarakis/32/1087813_2.png) [@akoumandarakis](https://forums.unrealengine.com/u/akoumandarakis)\
**Post date:** [October 23, 2026, 7:26pm UTC](https://forums.unrealengine.com/t/iris-unresolved-reference-hot-cold-cache-never-transitions-on-arm64-currtimems-overflows-uint32/2860416/3 "2026-10-23T19:26:51Z")

</div>

Hi,

Thank you for the report! I was able to confirm the issue in my own test project and have opened a new issue for this, UE-405915. It should be visible in the public tracker in a day or so.

I’ve also confirmed your proposed fix resolves the problem and made a note of this on the internal tracker for the issue.

Thanks,

Alex
