Skip to content

Crash when AutoRetainer switches characters (Multi mode) after 7.4 / Dalamud API14 #145

@reygoldk24

Description

@reygoldk24

Summary

After FFXIV 7.4 and the migration to Dalamud API14 / .NET 10, AutoRetainer frequently causes the game to crash during automatic character switching in Multi mode.

The crash seems to occur at the moment AutoRetainer automatically logs into a character, especially when the FFXIV window is not in the foreground (background / alt-tabbed).


Environment

  • Dalamud version: 14.0.0.2
  • Runtime: .NET 10
  • AutoRetainer: 4.5.5.4
  • OS: Windows 11 (25H2)
  • CPU: AMD Ryzen5 5600X
  • GPU: NVIDIA RTX4060Ti 8GB

What happens

  • AutoRetainer is running in Multi mode
  • Characters are switched automatically
  • At the moment of logging into a character, the game crashes with an access violation (C0000005)
  • This happens very frequently (often within an hour)
  • Crashes are much more likely when FFXIV is not the active / foreground window

What does NOT trigger it

  • Manual play without AutoRetainer
  • Single-character usage
  • Being logged in and idle (no character switch)

Observations

  • The crash happens exactly at character login, not during gameplay
  • It feels like something is accessed before the client/UI is fully ready
  • Other plugins are mostly stable; the issue appears strongly correlated with AutoRetainer’s character switching
  • Given that this started after the API14 / .NET 10 migration, it may be related to timing or missing guards during character switching

Crash log excerpt

Unhandled native exception occurred at ffxiv_dx11.exe+108AE55
Code: C0000005 (Access Violation)

Occurs during automatic character login
(Full crash log can be provided if needed)


Please excuse any awkward or unnatural wording, as this report was written using translation assistance.
Thank you for maintaining AutoRetainer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: Investigation (Medium)Unconfirmed mildly important bug report, investigation and classification pending.External bugAn issue caused by other software or hardware malfunctioning

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions