Replay OOS with Advanced Information: shrine resets and missed RNG draws (100.19.18658.0)

Game information

  • Game: Age of Empires III: Definitive Edition
  • Build: 100.19.18658.0
  • Operating system: Windows
  • Match identifier: 66394173

Issue

The attached recording diverges when watched from the Japanese viewpoint with the Advanced Information panel enabled. The first identified mismatch is at update 16167, approximately 6:55.151.

Around a shrine resource-mode change, the failing playback resets only 2 of 7 idle actions instead of all 7. Five skipped idle resets correspond to five missing RNG draws, with projectile divergence later in the replay.

Reproduction file

狠狠逮捕.age3Yrec (7.8 MB)

SHA-256: 3e109ff13d910f34e0787e9faaea108ad2706b0553da5b8a5045f7176cd16968

Use this same, unchanged original file for both tests below. The validated passing comparison is a UI-setting workaround, not a repaired recording. No distinct repaired-byte file has been established or is supplied for this case.

Reproduction and A/B comparison

  1. Use Windows build 100.19.18658.0 with matching game data. Download the attachment above.
  2. From the game’s title screen, select Load, then Open Saved Games. Put the .age3Yrec file in the folder that opens, then return to recorded-game playback.
  3. Test A, failing: Load the attached recording from the beginning, select the Japanese viewpoint, and enable Advanced Information using the circular “i” control. Continue through the shrine resource-mode change around 6:55. The first identified simulation mismatch is update 16167 at 6:55.151, followed by later projectile divergence/OOS. This timestamp identifies the first mismatch, not necessarily the time the OOS dialog appears.
  4. Test B, passing control: Use the exact same recording and Japanese viewpoint. Turn Advanced Information OFF using the circular “i” button before pressing the looping-arrows restart control. Restart playback from the beginning and leave the panel off. It should pass the failing point and play to completion.
  5. Compare the two runs without modifying the recording bytes. Watching the British viewpoint is an additional control that also passes in the tested case.

Validation

With Advanced Information disabled, the original recording completes all 24,337 updates with all 25 recorded checksum categories matching. In a separate TCP comparison, all 24 simulation channels match; the Comm channel differs.

This workaround is validated for the attached recording. It is not a guarantee for every Japanese recording or every replay OOS case. No general procedure for generating a new affected match has been established.

Likely mechanism, with evidence limits

Static/resolved-call analysis strongly supports this chain:

  • A panel refresh makes a nested callback during the shrine resource-mode change.
  • That callback clears a shared query still being used by the outer operation.
  • The outer iteration therefore resets only 2 of 7 idle actions.
  • Idle-action initialization includes an unconditional HeightBob phase RNG draw, so skipping five resets also skips five draws.
  • The shifted simulation RNG stream then produces later projectile divergence.

The reset/RNG differences and panel-on/panel-off checksum results support this diagnosis. A dynamic call stack capturing the nested callback was not collected, so the exact call chain should still be verified inside the engine. “Fewer RNG draws” describes the immediate divergence; the suspected underlying defect is shared-query mutation/re-entrancy from a UI refresh.

Expected result

Opening an information panel or changing the replay viewpoint should not change simulation state, action resets, or the simulation RNG stream. The original recording should play consistently with Advanced Information either on or off.

The two OOS bug reports you posted are incredibly detailed, thank you for doing this and I hope it’ll help the devs fix these issues.