Unable to load previous saved game! - "Corrupt map. Unknown decorative ID: 132"

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3754
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Unable to load previous saved game! - "Corrupt map. Unknown decorative ID: 132"

Post by boskid »

To be more precise, there was corruption with preview icon of one of the blueprints: "4 chest train loader" blueprint second icon is a bulk-inserter, which was reporting unknown-quality:
obraz.png
obraz.png (241.91 KiB) Viewed 326 times
This is even more suspicious, because all inserters in this blueprint are also of unknown quality. Do you know how that blueprint was created and maybe if there were some migrations of it between versions until it got into that state?

Fixed save file so you can continue playing, maybe that will bring you some memories how this blueprint was made.
122378-New Story 07.06-fixed.zip
(8.06 MiB) Downloaded 13 times

-- edit:

Actually given state of this blueprint i managed to find a reproduction steps that allows to get a corrupted save from a fresh state.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15222
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Unable to load previous saved game! - "Corrupt map. Unknown decorative ID: 132"

Post by Rseding91 »

The blueprint quality issue is now fixed for the next release.

If you have a save file that reproduces the decorative ID error please upload it somewhere.
If you want to get ahold of me I'm almost always on Discord.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15222
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Unable to load previous saved game! - "Corrupt map. Unknown decorative ID: 132"

Post by Rseding91 »

Actually, I was 5 minutes too late for the next release. So it will be the release after the next one.
If you want to get ahold of me I'm almost always on Discord.
LdV
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu Nov 21, 2024 9:46 am
Contact:

Re: Unable to load previous saved game! - "Corrupt map. Unknown decorative ID: 132"

Post by LdV »

Okay, just came across the error again, after updating to the latest version 2.0.42. ChatGPT seems to think it's another issue with a Blueprint. I've attached the save file again. Here is the log dump:

0.000 2025-03-23 00:21:17; Factorio 2.0.42 (build 82066, win64, steam, space-age)
0.001 Operating system: Windows 11 (build 26100)
0.000 Initializing Steam API.
0.001 Program arguments: "E:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.001 Config path: C:/Users/lukej/AppData/Roaming/Factorio/config/config.ini
0.001 Read data path: E:/SteamLibrary/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/lukej/AppData/Roaming/Factorio [385534/950879MB]
0.001 Binaries path: E:/SteamLibrary/steamapps/common/Factorio/bin
0.010 System info: [CPU: Intel(R) Core(TM) i9-14900HX, 32 cores, RAM: 11689/32468 MB, page: 14378/40148 MB, virtual: 4380/134217727 MB, extended virtual: 0 MB]
0.167 Memory info:
0.167 [0]: Samsung M425R2GA3PB0-CWMOL 16384 MB 5600 MHz 1.1 v 64|64
0.167 [1]: Samsung M425R2GA3PB0-CWMOL 16384 MB 5600 MHz 1.1 v 64|64
0.201 Display options: [FullScreen: true] [VSync: false] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
0.563 Video driver: windows
0.563 Available displays: 1
0.563 [0]: \\.\DISPLAY1 - Intel(R) UHD Graphics {0x05, [0,0], 2560x1600, 32bit, 240Hz}
0.669 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
0.965 Initialised Direct3D[0]: NVIDIA GeForce RTX 4080 Laptop GPU; id: 10de-27a0; driver: nvldumdx.dll 32.0.15.7283
0.965 D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
0.965 [Local Video Memory] Budget: 11229MB, CurrentUsage: 6MB, Reservation: 0/5742MB
0.965 [Non-Local Vid.Mem.] Budget: 15466MB, CurrentUsage: 0MB, Reservation: 0/7861MB
0.965 Tiled resources: Tier 2
0.965 Unified Memory Architecture: No
0.965 BGR 565 Supported: Yes
0.965 MaximumFrameLatency: 3, GPUThreadPriority: 0
0.965 Graphics settings preset: very-high
0.965 Dedicated video memory size 11997 MB
0.994 Desktop composition is active.
0.994 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
0.994 [Max threads (load/render): 32/32] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:100,C:100,S:70]
1.080 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
1.812 SteelSeries GameSense Controller initialized.
1.834 Info ModManager.cpp:444: FeatureFlag expansion-shaders = true
1.834 Info ModManager.cpp:444: FeatureFlag freezing = true
1.834 Info ModManager.cpp:444: FeatureFlag quality = true
1.834 Info ModManager.cpp:444: FeatureFlag rail-bridges = true
1.834 Info ModManager.cpp:444: FeatureFlag segmented-units = true
1.834 Info ModManager.cpp:444: FeatureFlag space-travel = true
1.834 Info ModManager.cpp:444: FeatureFlag spoiling = true
1.837 Loading mod core 0.0.0 (data.lua)
1.855 Loading mod base 2.0.42 (data.lua)
1.988 Loading mod elevated-rails 2.0.42 (data.lua)
2.007 Loading mod quality 2.0.42 (data.lua)
2.019 Loading mod space-age 2.0.42 (data.lua)
2.282 Loading mod base 2.0.42 (data-updates.lua)
2.295 Loading mod quality 2.0.42 (data-updates.lua)
2.311 Loading mod space-age 2.0.42 (data-updates.lua)
2.385 Checksum for core: 931939137
2.385 Checksum of base: 3983563817
2.385 Checksum of elevated-rails: 6715099
2.385 Checksum of quality: 2058135058
2.385 Checksum of space-age: 2335132001
2.617 Prototype list checksum: 2053221192
2.648 Loading sounds...
2.962 Info PlayerData.cpp:66: Local player-data.json unavailable
2.962 Info PlayerData.cpp:69: Cloud player-data.json available, timestamp 1742649475
2.965 Post-data load graphics options: [Light occlusion: YES]
3.192 Crop bitmaps.
3.194 Parallel sprite loader initialized (threads: 29, bitmaps: 8304)
8.513 Initial atlas bitmap size is 16384
8.523 Created an atlas bitmap (size 16384x16384) [none]
8.535 Created an atlas bitmap (size 16384x16380) [none]
8.552 Created an atlas bitmap (size 16384x16384) [none]
8.552 Created an atlas bitmap (size 16384x15040) [none]
8.555 Created an atlas bitmap (size 16384x16352) [low-object]
8.556 Created an atlas bitmap (size 4096x1664) [low-object]
8.556 Created an atlas bitmap (size 16384x14176) [corpse-decay]
8.556 Created an atlas bitmap (size 16384x8392) [decal]
8.556 Created an atlas bitmap (size 16384x5596) [none]
8.557 Created an atlas bitmap (size 1676x79) [not-compressed]
8.557 Created an atlas bitmap (size 16384x4224) [mipmap, linear-minification, linear-magnification, linear-mip-level]
8.557 Created an atlas bitmap (size 4096x3040) [smoke, mipmap, linear-minification, linear-magnification]
8.561 Created an atlas bitmap (size 16384x16352) [terrain, mipmap, linear-minification, linear-mip-level]
8.561 Created an atlas bitmap (size 16384x4944) [terrain, mipmap, linear-minification, linear-mip-level]
8.561 Created an atlas bitmap (size 8192x4128) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
8.561 Created an atlas bitmap (size 8192x2576) [mipmap]
8.561 Created an atlas bitmap (size 3504x768) [mipmap]
8.562 Created an atlas bitmap (size 4096x3152) [mipmap]
8.562 Created an atlas bitmap (size 4096x3152) [mipmap]
8.562 Created an atlas bitmap (size 4096x3152) [mipmap]
8.562 Created an atlas bitmap (size 8192x3872) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
8.563 Created an atlas bitmap (size 16384x6120) [alpha-mask]
8.577 Created an atlas bitmap (size 16384x16372) [shadow, linear-magnification, alpha-mask]
8.580 Created an atlas bitmap (size 16384x16376) [shadow, linear-magnification, alpha-mask]
8.580 Created an atlas bitmap (size 16384x3756) [shadow, linear-magnification, alpha-mask]
8.580 Created an atlas bitmap (size 8192x3936) [shadow, mipmap, linear-magnification, alpha-mask]
8.580 Created an atlas bitmap (size 4096x336) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
8.580 Loading 3D bitmaps.
8.588 Texture processor created (4096). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
8.619 Parallel sprite loader initialized (threads: 29, bitmaps: 8304)
19.008 Sprites loaded
19.020 Generated mipmaps (4) for atlas [4] of size 16384x16352
19.031 Generated mipmaps (4) for atlas [5] of size 4096x1664
19.042 Generated mipmaps (3) for atlas [10] of size 16384x4224
19.053 Generated mipmaps (3) for atlas [11] of size 4096x3040
19.064 Generated mipmaps (3) for atlas [12] of size 16384x16352
19.075 Generated mipmaps (3) for atlas [13] of size 16384x4944
19.086 Generated mipmaps (3) for atlas [14] of size 8192x4128
19.134 Generated mipmaps (3) for atlas [15] of size 8192x2576
19.145 Generated mipmaps (3) for atlas [16] of size 3504x768
19.155 Generated mipmaps (3) for atlas [17] of size 4096x3152
19.186 Generated mipmaps (3) for atlas [18] of size 4096x3152
19.197 Generated mipmaps (3) for atlas [19] of size 4096x3152
19.208 Generated mipmaps (5) for atlas [20] of size 8192x3872
19.219 Generated mipmaps (3) for atlas [25] of size 8192x3936
19.240 Custom mipmaps uploaded (3435)
19.257 Video memory usage: 3576.22 MB (Atlases: 3445.91 MB, Textures: 130.30 MB)
19.989 Factorio initialised
19.989 Discord overlay detected (DiscordHook64.dll)
20.042 Steam Storage Quota: 22947/23841
33.893 Info ServerSynchronizer.cpp:22: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
33.893 Info ServerMultiplayerManager.cpp:808: updateTick(18446744073709551615) changing state from(Ready) to(PreparedToHostGame)
33.893 Info ServerMultiplayerManager.cpp:808: updateTick(18446744073709551615) changing state from(PreparedToHostGame) to(CreatingGame)
33.893 Loading map C:\Users\lukej\AppData\Roaming\Factorio\saves\Multiplayer - Perth 05.zip: 19562854 bytes.
33.942 Loading level.dat: 56994271 bytes.
33.945 Info Scenario.cpp:153: Map version 2.0.32-0
34.908 Loading blueprint storage: Local timestamp 1742649468, Cloud timestamp 1742649470
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-YlT6d6\src\Util\ReleaseAssert.cpp(7): ReleaseAssertFailed
C:\Users\build\AppData\Local\Temp\factorio-build-YlT6d6\src\Blueprint\PreviewIcons.cpp(249): PreviewIconsPersistent::checkConsistency
C:\Users\build\AppData\Local\Temp\factorio-build-YlT6d6\src\Blueprint\Blueprint.cpp(760): Blueprint::checkConsistency
C:\Users\build\AppData\Local\Temp\factorio-build-YlT6d6\src\Blueprint\BlueprintLibrary.cpp(965): BlueprintLibrary::checkConsistency
C:\Users\build\AppData\Local\Temp\factorio-build-YlT6d6\src\Map\Map.cpp(1810): Map::checkConsistency
C:\Users\build\AppData\Local\Temp\factorio-build-YlT6d6\src\Map\MapSetupHelper.cpp(191): MapSetupHelper::MapSetupHelper
C:\Users\build\AppData\Local\Temp\factorio-build-YlT6d6\src\Map\Map.cpp(852): Map::setupEntities
C:\Users\build\AppData\Local\Temp\factorio-build-YlT6d6\src\Scenario\Scenario.cpp(293): Scenario::loadFactory
C:\Users\build\AppData\Local\Temp\factorio-build-YlT6d6\src\Scenario\ParallelScenarioLoader.cpp(190): ParallelScenarioLoader::doLoad
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\thread(56): std::thread::_Invoke<std::tuple<void (__cdecl*)(MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputSource *,MultiplayerManagerBase *,NamedBool<EnableReplayTag>),MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputSource *,MultiplayerManagerBase *,enum NamedBool<EnableReplayTag>::Enum>,0,1,2,3,4,5,6,7>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD5C4AE8D7)
00007FFD5C4AE8D7 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFD5D95BF6C)
00007FFD5D95BF6C (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
37.224 Error PreviewIcons.cpp:249: !this->data.baseID.isUnknown() && !this->data.qualityID.isUnknown() was not true
37.224 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
37.253 Info CrashHandler.cpp:318: Executable CRC: 2611162946
37.253 Error Util.cpp:95: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
48.954 Uploading log file
49.108 Error CrashHandler.cpp:270: Heap validation: success.
49.208 Creating crash dump.
49.509 CrashDump success
LdV
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu Nov 21, 2024 9:46 am
Contact:

Re: Unable to load previous saved game! - "Corrupt map. Unknown decorative ID: 132"

Post by LdV »

This was ChatGPT's analysis:


🧠 Summary
Your game crashed during map loading, specifically when checking blueprint consistency. The root error is:

Code: Select all

!this->data[i].baseID.isUnknown() && !this->data[i].qualityID.isUnknown() was not true
This means one or more blueprints had missing or invalid icon data, particularly related to baseID or qualityID, which is tied to the Quality mod and/or Space Age mod.


💥 What Caused the Crash?
The crash was triggered after loading a multiplayer save, right as it began validating blueprints:

Code: Select all

C:\Users\build\AppData\Local\Temp\factorio-build-YlT6d6\src\Blueprint\PreviewIcons.cpp(249): PreviewIconsPersistent::checkConsistency
This function failed an assertion because it encountered invalid or missing icon data in one of your blueprints.

These lines are the smoking gun:

Code: Select all

Error PreviewIcons.cpp:249: !this->data[i].baseID.isUnknown() && !this->data[i].qualityID.isUnknown() was not true
That means one or more blueprint icons were corrupt or undefined, causing the engine to crash when it expected them to be valid.


🔍 Breakdown of What Happened
✅ System Environment
Windows 11, running Factorio 2.0.42 (latest as of 23 March 2025)

GPU: RTX 4080 Laptop GPU, everything looks healthy and optimal

RAM, storage, video memory: All sufficient and within normal operating ranges

🧩 Mods Loaded:
base 2.0.42

elevated-rails 2.0.42

quality 2.0.42

space-age 2.0.42

All appear official and compatible with the current game version. No third-party mods are visible in this log.


💾 Save File:
Attempted to load: Multiplayer - Perth 05.zip

Map version: 2.0.32-0 (which is an older version than your current game 2.0.42)

Could be a possible mismatch or corrupted blueprint structure from the version difference.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3754
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Unable to load previous saved game! - "Corrupt map. Unknown decorative ID: 132"

Post by boskid »

Please do not show me anything from ChatGPT.

Code: Select all

!this->data[i].baseID.isUnknown() && !this->data[i].qualityID.isUnknown() was not true
That crash was fixed for 2.0.43 (a fix missed a release window by about 5 minutes to be included in 2.0.42). It was about using an upgrade planner with unknown-quality over a blueprint which propagated the unknown-quality into a blueprint in a way it was not supposed to. That is the same bug as one that i already found reproduction and Rseding fixed, it is just not out yet.
LdV
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu Nov 21, 2024 9:46 am
Contact:

Re: Unable to load previous saved game! - "Corrupt map. Unknown decorative ID: 132"

Post by LdV »

UPDATE!

I deleted the aforementioned blueprint and it loaded correctly, so that seems to have been the issue. There was one Green Inserter that had a black question mark next to it. Once I deleted that blueprint and checked all the others, which had no black question marks, it loaded correctly and I got the attached window pop up.
03-23-2025, 00-52-54.png
03-23-2025, 00-52-54.png (428.36 KiB) Viewed 192 times
Post Reply

Return to “1 / 0 magic”