Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on load: Cloud Save patch breaks configuration #127

Open
MartyGentillon opened this issue Nov 28, 2020 · 0 comments
Open

Crash on load: Cloud Save patch breaks configuration #127

MartyGentillon opened this issue Nov 28, 2020 · 0 comments

Comments

@MartyGentillon
Copy link

Error in CustomGameSettings(Clone).CustomGameSettings.OnPrefabInit
System.TypeInitializationException: The type initializer for 'CustomWorldSize.CustomWorldSize' threw an exception. ---> System.MissingMethodException: void Klei.CustomSettings.ToggleSettingConfig..ctor(string,string,string,Klei.CustomSettings.SettingLevel,Klei.CustomSettings.SettingLevel,string,string,int,int,bool)
--- End of inner exception stack trace ---
at (wrapper dynamic-method) CustomGameSettings.AddSettingConfig_Patch1(object,Klei.CustomSettings.SettingConfig)
at CustomGameSettings.OnPrefabInit () [0x00006] in <11c39c590d2042eda80ba0afaad84878>:0
at KMonoBehaviour.InitializeComponent () [0x00068] in <823c73e1dded498b9eec52a50d2e15ee>:0

at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in :0
at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <823c73e1dded498b9eec52a50d2e15ee>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <823c73e1dded498b9eec52a50d2e15ee>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <823c73e1dded498b9eec52a50d2e15ee>:0
at KMonoBehaviour.InitializeComponent () [0x00000] in <823c73e1dded498b9eec52a50d2e15ee>:0
at KMonoBehaviour.Awake () [0x00000] in <823c73e1dded498b9eec52a50d2e15ee>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in :0
at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in :0
at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in :0
at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in :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 <823c73e1dded498b9eec52a50d2e15ee>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <823c73e1dded498b9eec52a50d2e15ee>:0
at LaunchInitializer.Update () [0x00000] in <11c39c590d2042eda80ba0afaad84878>:0

public static SettingConfig UseCustomWorld = new ToggleSettingConfig(UseCustomWorldSize,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant