hedge-dev / hedge-dev/HedgeModManager

Unable to save for any game

Open
#5 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
193
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Every single game I try, whether it's enable/disabling mods, codes, or any setting in settings simply throws an error that it was unable to save due to an unknown error. The log mentions a FileNotFoundException was thrown.

Log:

[04:34:59 -  INFO] Starting HedgeModManager 8.0.0 beta 1...
[04:34:59 -  INFO] Startup Date: 2025-03-02 04:34:59 (UTC)
[04:34:59 - DEBUG] IsWindows: True
[04:34:59 - DEBUG] IsLinux: False
[04:34:59 - DEBUG] RID: win-x64
[04:34:59 - DEBUG] FlatpakID: "" (False)
[04:34:59 - DEBUG] InstallLocation: D:\Downloads\HedgeModManager-Release
[04:34:59 - DEBUG] IsDebugBuild: False
[04:34:59 -  INFO] Loading config...
[04:34:59 -  INFO] Initialising codes...
[04:34:59 -  INFO] Loading URI handlers...
[04:34:59 -  INFO] Locating games...
[04:34:59 - DEBUG] Found Steam at: C:\Program Files (x86)\Steam
[04:34:59 - DEBUG]   Supported games:
[04:34:59 - DEBUG]     71340 - D:\Games\PC\Steam\steamapps\common\Sonic Generations
[04:34:59 - DEBUG]     329440 - D:\Games\PC\Steam\steamapps\common\Sonic Lost World
[04:34:59 - DEBUG]     637100 - D:\Games\PC\Steam\steamapps\common\SonicForces
[04:34:59 - DEBUG]     1237320 - D:\Games\PC\Steam\steamapps\common\SonicFrontiers
[04:34:59 - DEBUG]     1794960 - D:\Games\PC\Steam\steamapps\common\SonicOrigins
[04:34:59 - DEBUG]     2513280 - D:\Games\PC\Steam\steamapps\common\SONIC_X_SHADOW_GENERATIONS
[04:34:59 - DEBUG] Heroic not found!
[04:34:59 - DEBUG] Selected game:
[04:34:59 - DEBUG]     ID: 
[04:34:59 - DEBUG]   Name: UnleashedRecompiled
[04:34:59 - DEBUG]   Plat: Windows
[04:34:59 - DEBUG]   Root: D:\Games\UnleashedRecomp-Windows
[04:34:59 - DEBUG]   Exec: UnleashedRecomp.exe
[04:34:59 - DEBUG]   N OS: Windows
[04:34:59 - DEBUG]   Type: ModdableGameGeneric
[04:34:59 - DEBUG] Sending GET request to https://api.github.com/repos/hedge-dev/HedgeModManager/releases/latest for GitHubRelease
[04:34:59 - DEBUG] Initialised game
[04:34:59 - DEBUG] Loading profiles...
[04:34:59 - DEBUG] Loaded 1 profile(s)
[04:34:59 -  INFO] Found 7 mods
[04:34:59 - DEBUG] Game's mod loader is null
[04:35:00 - DEBUG] Got error status code: NotFound
[04:35:00 - ERROR] Failed to check for updates
[04:35:00 -  INFO] No release found
[04:35:00 - DEBUG] Game's mod loader is null
[04:35:00 - DEBUG] Starting server
[04:35:00 - DEBUG] Waiting for connection
[04:35:04 - ERROR] System.IO.FileNotFoundException: Could not load file or assembly 'System.IO.Pipelines, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
[04:35:04 - ERROR] File name: 'System.IO.Pipelines, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
[04:35:04 - ERROR]    at System.Text.Json.JsonSerializer.WriteString[TValue](TValue& value, JsonTypeInfo`1 jsonTypeInfo)
[04:35:04 - ERROR]    at System.Text.Json.JsonSerializer.Serialize[TValue](TValue value, JsonSerializerOptions options)
[04:35:04 - ERROR]    at HedgeModManager.UI.Config.ProgramConfig.SaveAsync()
[04:35:04 - ERROR]    at HedgeModManager.UI.ViewModels.MainWindowViewModel.SaveAsync(Boolean setBusy)
[04:35:04 - ERROR] Failed to save

Contributor guide

No contributing guide indexed for this repository

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

Start in HedgeModManager.UI.Config.ProgramConfig.SaveAsync(), using the logged System.IO.FileNotFoundException for System.IO.Pipelines as the entry point. Reproduce saving a setting, mod, or code with the Windows setup described, then verify that saving completes without the missing-assembly error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.