Environment:
Game version: 1.5.10f1 (330.05c1) [6202.16258]
OS: Windows 11 (10.0.26200) 64-bit
GPU: NVIDIA GeForce RTX 3070 Laptop GPU
Map Texture Replacer version: 14
Map: Banff National Park
Summary:
AutoSave repeatedly crashes with a NullReferenceException inside Game.Prefabs.PrefabSystem.SaveTextureDependencies. The crash is immediately preceded by [FileSystem] [WARN] Asset not found . The missing asset GUID is different on every occurrence, which points to a dangling/transient texture reference rather than a single corrupted file.
Steps to Reproduce:
Load a save on the Banff National Park map with Map Texture Replacer enabled.
Play normally. MTR logs Map Textures Reapplied After Save after every save (see MapTextureReplacer.Mod.log).
Wait for the next AutoSave cycle (default interval).
AutoSave fails with a NullReferenceException; the game continues running but the save is not written.
[SceneFlow] [WARN] Duplicate prefab ID: WaterRenderSettingsPrefab:Canadian Rockies (a79b80f1a4ff793ad108e9dd4c7c8101) (Canadian Rockies (PrefabAsset:e7a98db83fa29bbf681ae7ba35931672 $128576 [assetdb://transient6bf15d96b3ef4d4b8d47cbcc76e5b4ab/Canadian%20Rockies.Prefab]))
[SceneFlow] [WARN] Duplicate prefab ID: TerrainRenderSettingsPrefab:Banff National Park (48894d9642c3286635b65dc1ecb9e6ab) (Banff National Park (PrefabAsset:c1e0d35434d850ffdfc2342782a6e68f $128577 [assetdb://transient6bf15d96b3ef4d4b8d47cbcc76e5b4ab/Banff%20National%20Park.Prefab]))
Unloading 1 Unused Serialized files (Serialized files now loaded: 1)
Unloading 103 unused Assets to reduce memory usage. Loaded Objects now: 359467.
[FileSystem] [WARN] Asset not found 5949af7cf973f9ed464f9548c07fe080
[SceneFlow] [ERROR] Object reference not set to an instance of an object System.NullReferenceException: Object reference not set to an instance of an object
at Game.Prefabs.PrefabSystem.SaveTextureDependencies (Colossal.IO.AssetDatabase.ILocalAssetDatabase database, Game.Prefabs.PrefabBase prefab) [0x0005c] in <1251efa692c74370bc875c1e3ef4eebd>:0
at Game.Prefabs.PrefabSystem.SavePrefab (Colossal.IO.AssetDatabase.ILocalAssetDatabase database, Game.Prefabs.PrefabBase prefab, System.Boolean force) [0x00046] in <1251efa692c74370bc875c1e3ef4eebd>:0
at Game.Prefabs.PrefabSystem.SaveTerrainRenderSettings (Colossal.IO.AssetDatabase.ILocalAssetDatabase database, Colossal.IO.AssetDatabase.PrefabAsset[] references, Colossal.Serialization.Entities.Context& context) [0x00022] in <1251efa692c74370bc875c1e3ef4eebd>:0
at Game.Prefabs.PrefabSystem.SavePrefabAssets (Colossal.IO.AssetDatabase.ILocalAssetDatabase database, Colossal.IO.AssetDatabase.PrefabAsset[] inputPrefabs, Colossal.Serialization.Entities.Context& context) [0x0003a] in <1251efa692c74370bc875c1e3ef4eebd>:0
at Game.SceneFlow.GameManager.Save (System.String saveName, Game.Assets.SaveInfo meta, Colossal.IO.AssetDatabase.ILocalAssetDatabase database, Game.UI.ScreenCaptureHelper+AsyncRequest previewRequest) [0x001f0] in <1251efa692c74370bc875c1e3ef4eebd>:0
at Game.AutoSaveSystem.AutoSave () [0x000f7] in <1251efa692c74370bc875c1e3ef4eebd>:0
Environment:
Game version: 1.5.10f1 (330.05c1) [6202.16258]
OS: Windows 11 (10.0.26200) 64-bit
GPU: NVIDIA GeForce RTX 3070 Laptop GPU
Map Texture Replacer version: 14
Map: Banff National Park
Summary:
AutoSave repeatedly crashes with a NullReferenceException inside Game.Prefabs.PrefabSystem.SaveTextureDependencies. The crash is immediately preceded by [FileSystem] [WARN] Asset not found . The missing asset GUID is different on every occurrence, which points to a dangling/transient texture reference rather than a single corrupted file.
Steps to Reproduce:
Load a save on the Banff National Park map with Map Texture Replacer enabled.
Play normally. MTR logs Map Textures Reapplied After Save after every save (see MapTextureReplacer.Mod.log).
Wait for the next AutoSave cycle (default interval).
AutoSave fails with a NullReferenceException; the game continues running but the save is not written.
[SceneFlow] [WARN] Duplicate prefab ID: WaterRenderSettingsPrefab:Canadian Rockies (a79b80f1a4ff793ad108e9dd4c7c8101) (Canadian Rockies (PrefabAsset:e7a98db83fa29bbf681ae7ba35931672 $128576 [assetdb://transient6bf15d96b3ef4d4b8d47cbcc76e5b4ab/Canadian%20Rockies.Prefab]))
[SceneFlow] [WARN] Duplicate prefab ID: TerrainRenderSettingsPrefab:Banff National Park (48894d9642c3286635b65dc1ecb9e6ab) (Banff National Park (PrefabAsset:c1e0d35434d850ffdfc2342782a6e68f $128577 [assetdb://transient6bf15d96b3ef4d4b8d47cbcc76e5b4ab/Banff%20National%20Park.Prefab]))
Unloading 1 Unused Serialized files (Serialized files now loaded: 1)
Unloading 103 unused Assets to reduce memory usage. Loaded Objects now: 359467.
[FileSystem] [WARN] Asset not found 5949af7cf973f9ed464f9548c07fe080
[SceneFlow] [ERROR] Object reference not set to an instance of an object System.NullReferenceException: Object reference not set to an instance of an object
at Game.Prefabs.PrefabSystem.SaveTextureDependencies (Colossal.IO.AssetDatabase.ILocalAssetDatabase database, Game.Prefabs.PrefabBase prefab) [0x0005c] in <1251efa692c74370bc875c1e3ef4eebd>:0
at Game.Prefabs.PrefabSystem.SavePrefab (Colossal.IO.AssetDatabase.ILocalAssetDatabase database, Game.Prefabs.PrefabBase prefab, System.Boolean force) [0x00046] in <1251efa692c74370bc875c1e3ef4eebd>:0
at Game.Prefabs.PrefabSystem.SaveTerrainRenderSettings (Colossal.IO.AssetDatabase.ILocalAssetDatabase database, Colossal.IO.AssetDatabase.PrefabAsset[] references, Colossal.Serialization.Entities.Context& context) [0x00022] in <1251efa692c74370bc875c1e3ef4eebd>:0
at Game.Prefabs.PrefabSystem.SavePrefabAssets (Colossal.IO.AssetDatabase.ILocalAssetDatabase database, Colossal.IO.AssetDatabase.PrefabAsset[] inputPrefabs, Colossal.Serialization.Entities.Context& context) [0x0003a] in <1251efa692c74370bc875c1e3ef4eebd>:0
at Game.SceneFlow.GameManager.Save (System.String saveName, Game.Assets.SaveInfo meta, Colossal.IO.AssetDatabase.ILocalAssetDatabase database, Game.UI.ScreenCaptureHelper+AsyncRequest previewRequest) [0x001f0] in <1251efa692c74370bc875c1e3ef4eebd>:0
at Game.AutoSaveSystem.AutoSave () [0x000f7] in <1251efa692c74370bc875c1e3ef4eebd>:0