[Content Patcher] detect maps broken by SDV 1.3.36 tilesheet changes
Pathoschild opened this issue ยท 1 comments
Stardew Valley 1.3.36 deleted some duplicate tilesheet assets. This causes many content packs to crash when they load a map that references a deleted tilesheet, often with confusing errors due to the wrong asset file being matched:
ContentLoadException: Error loading "Maps\mine". File contains xTile.Map but trying to load as Microsoft.Xna.Framework.Graphics.Texture2D.
Detect custom maps which reference one of the deleted content packs, show a more useful error, and abort the map load to avoid crashing the player's game.