Jump to content

Game Crashes after trying to switch to DLC after new update.


Recommended Posts

After downloading the Breath of Fresh Air update, I decided to see if switching to the dlc from the base game was any faster. It was, but my game crashed before reaching the main menu. I had no mods running, I just pressed the button on the main menu to switch to the dlc.

 

Edit: After repeating what I did to try to repeat the crash, this does not happen for me when switching back to the base game, and only happened the first time I opened the dlc. The best way to try to get this to repeat would for me to reinstall ONI, and then try switching to the dlc immediately.

 

Here is the crash report:

Spoiler

 

Assert failed: First anim file for AdvancedApothecaryComplete needs to be non-null.

  at UnityEngine.Debug.LogError (System.Object message) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
  at Debug.LogError (System.Object obj) [0x00000] in <d1e03645b6a14b528d2f85f8af12cdf9>:0
  at Debug.Assert (System.Boolean condition, System.Object message) [0x00000] in <d1e03645b6a14b528d2f85f8af12cdf9>:0
  at DebugUtil.Assert (System.Boolean test, System.String message) [0x00000] in <d1e03645b6a14b528d2f85f8af12cdf9>:0
  at KAnimControllerBase.set_AnimFiles (KAnimFile[] value) [0x00000] in <df5a8995911248099313553dfb9842fe>:0
  at BuildingLoader.Add2DComponents (BuildingDef def, UnityEngine.GameObject go, System.String initialAnimState, System.Boolean no_collider, System.Int32 layer) [0x00000] in <df5a8995911248099313553dfb9842fe>:0
  at BuildingLoader.CreateBuildingComplete (UnityEngine.GameObject go, BuildingDef def) [0x00000] in <df5a8995911248099313553dfb9842fe>:0
  at BuildingConfigManager.RegisterBuilding (IBuildingConfig config) [0x00000] in <df5a8995911248099313553dfb9842fe>:0
  at GeneratedBuildings.LoadGeneratedBuildings (System.Collections.Generic.List`1[T] types) [0x00000] in <df5a8995911248099313553dfb9842fe>:0
  at LegacyModMain.LoadBuildings (System.Collections.Generic.List`1[T] types) [0x00000] in <df5a8995911248099313553dfb9842fe>:0
  at LegacyModMain.Load () [0x00000] in <df5a8995911248099313553dfb9842fe>:0
  at Assets.CreatePrefabs () [0x00000] in <df5a8995911248099313553dfb9842fe>:0
  at Assets.OnPrefabInit () [0x00000] in <df5a8995911248099313553dfb9842fe>:0
  at KMonoBehaviour.InitializeComponent () [0x00000] in <d1e03645b6a14b528d2f85f8af12cdf9>:0
  at KMonoBehaviour.Awake () [0x00000] in <d1e03645b6a14b528d2f85f8af12cdf9>:0
  at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
  at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
  at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
  at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
  at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in <d1e03645b6a14b528d2f85f8af12cdf9>:0
  at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <d1e03645b6a14b528d2f85f8af12cdf9>:0
  at LaunchInitializer.Update () [0x00000] in <df5a8995911248099313553dfb9842fe>:0
Build: 471531-D

 

 

Link to comment
Share on other sites

  • Developer

Thanks for reporting this. We're more likely to notice this kind of issue if you make your post in the Bug Tracker instead but nonetheless, I've made a fix for this so it won't happen again. :) That will be in the next hotfix.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...