You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result of the upgrade to the current version of Unity, some previously acceptable coding practices are now causing hidden errors, which eventually cause the game to crash.
This is only visible on a debug install.
AT_Utils has at least one issue, the error is here:
Uploading Crash Report
UnityException: set_mode is not allowed to be called from a MonoBehaviour constructor (or instance field initializer), call it in Awake or Start instead. Called from MonoBehaviour 'TooltipManager' on game object 'TooltipManager'.
See "Script Serialization" page in the Unity Manual for further details.
at (wrapper managed-to-native) UnityEngine.Gradient.set_mode(UnityEngine.Gradient,UnityEngine.GradientMode)
at AT_Utils.UI.SimpleGradient.update (UnityEngine.Color _) [0x00012] in <8bfbc58247c04f19a32608d8d8e980d4>:0
at AT_Utils.UI.SimpleGradient..ctor (System.Collections.Generic.IEnumerable1[T] content) [0x0002e] in <8bfbc58247c04f19a32608d8d8e980d4>:0 at AT_Utils.UI.Colors..cctor () [0x000f1] in <8bfbc58247c04f19a32608d8d8e980d4>:0 Rethrow as TypeInitializationException: The type initializer for 'AT_Utils.UI.Colors' threw an exception. at AT_Utils.AT_UtilsGlobals.Save (ConfigNode node) [0x00013] in <06fc2bb492054b45919a0c96aa2441ac>:0 at AT_Utils.PluginConfig.Load (System.String[] files) [0x0003b] in <06fc2bb492054b45919a0c96aa2441ac>:0 at AT_Utils.PluginGlobals1[T].Load () [0x00023] in <06fc2bb492054b45919a0c96aa2441ac>:0
at AT_Utils.PluginGlobals`1[T].get_Instance () [0x0000c] in <06fc2bb492054b45919a0c96aa2441ac>:0
at AT_Utils.TooltipWindow..ctor () [0x00000] in <06fc2bb492054b45919a0c96aa2441ac>:0
at AT_Utils.TooltipManager..cctor () [0x00000] in <06fc2bb492054b45919a0c96aa2441ac>:0
Rethrow as TypeInitializationException: The type initializer for 'AT_Utils.TooltipManager' threw an exception.
The text was updated successfully, but these errors were encountered:
Cool. Any idea when you will release an update? I'd rebuild an interm version for myself, but wasn't able to do a full compile, I think it was missing something
As a result of the upgrade to the current version of Unity, some previously acceptable coding practices are now causing hidden errors, which eventually cause the game to crash.
This is only visible on a debug install.
AT_Utils has at least one issue, the error is here:
Uploading Crash Report
UnityException: set_mode is not allowed to be called from a MonoBehaviour constructor (or instance field initializer), call it in Awake or Start instead. Called from MonoBehaviour 'TooltipManager' on game object 'TooltipManager'.
See "Script Serialization" page in the Unity Manual for further details.
at (wrapper managed-to-native) UnityEngine.Gradient.set_mode(UnityEngine.Gradient,UnityEngine.GradientMode)
at AT_Utils.UI.SimpleGradient.update (UnityEngine.Color _) [0x00012] in <8bfbc58247c04f19a32608d8d8e980d4>:0
at AT_Utils.UI.SimpleGradient..ctor (System.Collections.Generic.IEnumerable
1[T] content) [0x0002e] in <8bfbc58247c04f19a32608d8d8e980d4>:0 at AT_Utils.UI.Colors..cctor () [0x000f1] in <8bfbc58247c04f19a32608d8d8e980d4>:0 Rethrow as TypeInitializationException: The type initializer for 'AT_Utils.UI.Colors' threw an exception. at AT_Utils.AT_UtilsGlobals.Save (ConfigNode node) [0x00013] in <06fc2bb492054b45919a0c96aa2441ac>:0 at AT_Utils.PluginConfig.Load (System.String[] files) [0x0003b] in <06fc2bb492054b45919a0c96aa2441ac>:0 at AT_Utils.PluginGlobals
1[T].Load () [0x00023] in <06fc2bb492054b45919a0c96aa2441ac>:0at AT_Utils.PluginGlobals`1[T].get_Instance () [0x0000c] in <06fc2bb492054b45919a0c96aa2441ac>:0
at AT_Utils.TooltipWindow..ctor () [0x00000] in <06fc2bb492054b45919a0c96aa2441ac>:0
at AT_Utils.TooltipManager..cctor () [0x00000] in <06fc2bb492054b45919a0c96aa2441ac>:0
Rethrow as TypeInitializationException: The type initializer for 'AT_Utils.TooltipManager' threw an exception.
The text was updated successfully, but these errors were encountered: