Skip to content

New update causes game to crash on world load. #7

@Aquilux

Description

@Aquilux

After the latest update, saves that contain either insulated doors or insulated heavywatt joint plates fail to load with or without the associated mods being active. When active, the crash handler identifies these mods as being likely at fault.

Output with mods running:

Error in PowerTransformerComplete.BuildingComplete.OnSpawn 
System.NullReferenceException: Object reference not set to an instance of an object
  at RequiresFoundation.Add (UnityEngine.GameObject go) [0x002c3] in <d5328eee662f4764aa7c5b55cf68b8e5>:0 
  at BuildingConfigManager.AddBuildingCompleteKComponents (UnityEngine.GameObject go, Tag prefab_tag) [0x00026] in <d5328eee662f4764aa7c5b55cf68b8e5>:0 
  at (wrapper dynamic-method) BuildingComplete.BuildingComplete.OnSpawn_Patch2(BuildingComplete)
  at KMonoBehaviour.Spawn () [0x0005d] in <df39314802ed43e5bbf6fc703b89198b>:0 

  at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 
  at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <df39314802ed43e5bbf6fc703b89198b>:0 
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <df39314802ed43e5bbf6fc703b89198b>:0 
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <df39314802ed43e5bbf6fc703b89198b>:0 
  at KMonoBehaviour.Spawn () [0x00000] in <df39314802ed43e5bbf6fc703b89198b>:0 
  at KMonoBehaviour.Start () [0x00000] in <df39314802ed43e5bbf6fc703b89198b>:0 
Build: U34-476542-VD

Player.log

Output with mods inactive:

Error in PowerTransformerComplete.BuildingComplete.OnSpawn 
System.NullReferenceException: Object reference not set to an instance of an object
  at RequiresFoundation.Add (UnityEngine.GameObject go) [0x002c3] in <d5328eee662f4764aa7c5b55cf68b8e5>:0 
  at BuildingConfigManager.AddBuildingCompleteKComponents (UnityEngine.GameObject go, Tag prefab_tag) [0x00026] in <d5328eee662f4764aa7c5b55cf68b8e5>:0 
  at BuildingComplete.OnSpawn () [0x00226] in <d5328eee662f4764aa7c5b55cf68b8e5>:0 
  at KMonoBehaviour.Spawn () [0x0005d] in <df39314802ed43e5bbf6fc703b89198b>:0 

  at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 
  at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <df39314802ed43e5bbf6fc703b89198b>:0 
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <df39314802ed43e5bbf6fc703b89198b>:0 
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <df39314802ed43e5bbf6fc703b89198b>:0 
  at KMonoBehaviour.Spawn () [0x00000] in <df39314802ed43e5bbf6fc703b89198b>:0 
  at KMonoBehaviour.Start () [0x00000] in <df39314802ed43e5bbf6fc703b89198b>:0 
Build: U34-476542-VD

Player.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions