libretro / libretro/RetroArch

[Bug] Rewind breaks when Retroachievements is enabled.

Open
#16,340 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

First and foremost consider this:

  • Only RetroArch bugs should be filed here. Not core bugs or game bugs
  • This is not a forum or a help section, this is strictly developer oriented

Description

Rewind randomly just resets the game entirely, it didn't always do this but when it starts it never seems to stop.

Expected behavior

Rewind works like normal

Actual behavior

Rewind immediately resets the game to the beginning regardless of position.

Steps to reproduce the bug

I narrowed it down to RetroAchievements so the steps are

  1. Enable Rewind and Retroachievements, without hardcore mode.
    2, Load any game, game doesn't matter but I noticed it with these cores.
    [Beetle VB Stella mGBA Snex9x GenesisPlusGX Geolith NeoCD Fceumm]
  2. Try to rewind, keymapping, video drivers and rewind settings don't seem to matter.
Bisect Results

I didn't change my rewind settings prior, regenerating the config file only fixed a little bit of it before it started happening again, using an old config, shuffling core remaps and configs, and even remapping rewind to something else to make sure it wasn't some shared input issue didn't change it at all.

I've narrowed it down to enabling RetroAchievements, if I enable it at all, then it causes issues with rewind, but disabling it immediately fixes it even after a restart. This is without hardcore mode enabled, and in fact enabling that on a game that RA doesn't support lets rewinds work fine, but disabling it breaks it again.

Version/Commit

You can find this information under Information/System Information

  • RetroArch: 1.17.0
Environment information

OS is Manjaro 6.6.19 Video Drivers tested were Vulkan, glcore, gl. All with the same issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with Rewind and RetroAchievements enabled without hardcore mode, using any game and one of the listed cores. Compare behavior with RetroAchievements disabled, and verify whether rewind still resets regardless of core, input mapping, video driver, or rewind settings. Done means rewind restores earlier game state normally while RetroAchievements remains enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.