Skip to content

Update Unload to match Load / format#9194

Merged
tomspilman merged 1 commit into
MonoGame:developfrom
JakeLegendXIII:feature/unload-bug
Jan 23, 2026
Merged

Update Unload to match Load / format#9194
tomspilman merged 1 commit into
MonoGame:developfrom
JakeLegendXIII:feature/unload-bug

Conversation

@JakeLegendXIII

Copy link
Copy Markdown
Contributor

Fixes #9189

Description of Change

Takes the same logic used in Load and handles converting \\ to the / format when trying to UnloadAssets.
Verified that it works using a simple Repro project based on the provided code in the issue.

Contributor Declaration

  • I certify that no LLM's were used to generate any code or documentation in this contribution.

@SimonDarksideJ SimonDarksideJ added this to the 3.8.6 milestone Jan 23, 2026
@tomspilman tomspilman merged commit 396ebcf into MonoGame:develop Jan 23, 2026
9 checks passed
@JakeLegendXIII JakeLegendXIII deleted the feature/unload-bug branch January 23, 2026 15:36
viniciusjarina pushed a commit to codefoco/MonoGame that referenced this pull request Jan 29, 2026
Fixes MonoGame#9189 

### Description of Change

Takes the same logic used in Load and handles converting \\\ to the /
format when trying to UnloadAssets.
Verified that it works using a simple Repro project based on the
provided code in the issue.

### Contributor Declaration

- [x] I certify that no LLM's were used to generate any code or
documentation in this contribution.

Co-authored-by: Jake Kirkbride <jakelegendxiii@rjtechnologies.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ContentManager] Inconsistent string format for Content.Load() and Content.UnloadAsset()

3 participants