Example: A has a procedural function to create prototypes. B adds a prototype. A does not create a prototype because it is ordered before B.
Expected Solution: Change the "dependencies" : ["base"] in A to "dependencies": ["base", "dependency_order_map_corruption_B"]
Restart Factorio, load the save. Message:
Code: Select all
8.912 Warning Map.cpp:346: Map loading failed: corrupt map - bad loaded statistics size: 531 != 532
8.963 Error AppManagerStates.cpp:1599: corrupt map - bad loaded statistics size: 531 != 532
Expected result: No error, additional prototypes work as expected (even if a manual reset_technology_effects() etc is needed)