Pathoschild / SMAPI

The modding API for Stardew Valley.
https://smapi.io/
GNU Lesser General Public License v3.0
1.87k stars 263 forks source link

Content API Invalidation Issue #391

Closed Sakorona closed 6 years ago

Sakorona commented 7 years ago

TownInterior.xnb apparently cannot be invalidated by any mods, so it's not clearing static references?

Pathoschild commented 7 years ago

@JohnsonNicholas Can you attach a sample mod which reproduces the issue?

Sakorona commented 7 years ago

https://rd.nexusmods.com/stardewvalley/mods/1573 when loaded with XnbLoader (it's a fairly common statement actually on these mods now)

Pathoschild commented 6 years ago

@JohnsonNicholas This seems to work normally in the upcoming SMAPI 2.2.

Can you reproduce this issue yourself? If so, I'll send you a test build of SMAPI 2.2 to try.

Sakorona commented 6 years ago

That's odd, I couldn't.

My repro steps:

  1. Delete the content folder, drag over the clean one from my steam install
  2. Enter a town interior

??? It's working now?

Pathoschild commented 6 years ago

@JohnsonNicholas Was that with SMAPI 2.1?

Sakorona commented 6 years ago

Yes. But oddly, it didn't work before. I wonder if force clearing my content folder fixed it.

Pathoschild commented 6 years ago

Thanks! I'll close this then.