Pholith / ONI-Mods

Mods for Oxygen Not Included
https://steamcommunity.com/profiles/76561198263471888/myworkshopfiles/?appid=457140&sort=score&browsefilter=myfiles&view=imagewall
40 stars 13 forks source link

Crash on startup Conflicts with 2 other mods more details in report #24

Open Dimitry-Blitzbrieg opened 1 year ago

Dimitry-Blitzbrieg commented 1 year ago

Describe the bug Unfortunately I'm unable to use the polluted electrolyzer mod. as of feb 18,2023 the mod Crashes on Startup. furthermore the mod Conflicts with 2 mods from the Creator @Cairath. even without the 2 conflicting mods it still crashes on startup.

To Reproduce Enable Polluted Electrolyzer mod from main menu. restart game. the crash will then occur on startup.

Output_log.txt Exception in RegisterBuilding for type PollutedElectrolyzer.PollutedElectrolyserConfig from PollutedElectrolyzer System.MissingMethodException: void ElementConverter/ConsumedElement..ctor(Tag,single) at BuildingConfigManager.RegisterBuilding (IBuildingConfig config) [0x0009d] in <1726ad14e928409087f7fe566b21e0ff>:0 at (wrapper dynamic-method) GeneratedBuildings.GeneratedBuildings.LoadGeneratedBuildings_Patch4(System.Collections.Generic.List`1)

at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in :0 at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in :0 at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in :0 at GeneratedBuildings.GeneratedBuildings.LoadGeneratedBuildings_Patch4 (System.Collections.Generic.List1[T] ) [0x00000] in <1726ad14e928409087f7fe566b21e0ff>:0 at LegacyModMain.LoadBuildings (System.Collections.Generic.List1[T] types) [0x00000] in <1726ad14e928409087f7fe566b21e0ff>:0 at LegacyModMain.Load () [0x00000] in <1726ad14e928409087f7fe566b21e0ff>:0 at Assets.CreatePrefabs () [0x00000] in <1726ad14e928409087f7fe566b21e0ff>:0 at Assets.OnPrefabInit () [0x00000] in <1726ad14e928409087f7fe566b21e0ff>:0 at KMonoBehaviour.InitializeComponent () [0x00000] in :0 at KMonoBehaviour.Awake () [0x00000] in :0 at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>: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 :0 at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in :0 at LaunchInitializer.Update () [0x00000] in <1726ad14e928409087f7fe566b21e0ff>:0 Build: U44-537329-S

Screenshots If needed, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Pholith commented 1 year ago

What are the 2 mods from Cairath that conflict and crash ? @Dimitry-Blitzbrieg

Dimitry-Blitzbrieg commented 1 year ago

its been a while sadly so i don't remember the specific ones...

Pholith commented 1 year ago

I fixed the mod due to another crash, maybe it fixed your incompatibility.

Dimitry-Blitzbrieg commented 1 year ago

Thanks for the info, rn im away from my computer for a few weeks so i cannot confirm the fix. But will get back to you when i can.