Hi, after I upgraded to 2021.3.16, when trying to add a new Variable to the Blackboard, I get the following error:
ArgumentException: The type ‘System.Void’ may not be used as a type argument.
System.RuntimeType.ThrowIfTypeNeverValidGenericArgument (System.RuntimeType type) (at <d6232873609549b8a045fa15811a5bd3>:0)
System.RuntimeType.SanityCheckGenericArguments (System.RuntimeType[] genericArguments, System.RuntimeType[] genericParamters) (at <d6232873609549b8a045fa15811a5bd3>:0)
System.RuntimeType.MakeGenericType (System.Type[] instantiation) (at <d6232873609549b8a045fa15811a5bd3>:0)
ParadoxNotion.Design.EditorUtils.GetPreferedTypesSelectionMenu (System.Type baseType, System.Action`1[T] callback, UnityEditor.GenericMenu menu, System.String subCategory, System.Boolean showAddTypeOption) (at Assets/Standard Assets/ParadoxNotion/CanvasCore/Common/Design/PartialEditor/EditorUtils/EditorUtils.ContextMenus.cs:90)
NodeCanvas.Editor.BlackboardEditor.GetAddVariableMenu (NodeCanvas.Framework.IBlackboard bb, UnityEngine.Object contextParent) (at Assets/Standard Assets/ParadoxNotion/CanvasCore/Framework/Design/PartialEditor/Editors/BlackboardEditor.cs:286)
NodeCanvas.Editor.BlackboardEditor.InspectorGUI (NodeCanvas.Framework.IBlackboard bb, UnityEngine.Object overrideContextObject) (at Assets/Standard Assets/ParadoxNotion/CanvasCore/Framework/Design/PartialEditor/Editors/BlackboardEditor.cs:81)
NodeCanvas.Editor.BlackboardEditor.ShowVariables (NodeCanvas.Framework.IBlackboard bb, UnityEngine.Object overrideContextObject) (at Assets/Standard Assets/ParadoxNotion/CanvasCore/Framework/Design/PartialEditor/Editors/BlackboardEditor.cs:58)
NodeCanvas.Editor.BlackboardInspector.OnInspectorGUI () (at Assets/Standard Assets/ParadoxNotion/CanvasCore/Framework/Design/Editor/Inspectors/BlackboardInspector.cs:31)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <5457beb9f0d445908d881ac040090912>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
It also appears after switching to 2021.3.15. I am on Windows.
Could be that it doesnt have anything to do with the upgrade, maybe thats just when i noticed.
I tried downgrading to 2021.3.13 again, still the same error (but it definetly once worked there) and others since some of the packages dont work there.
Nevermind I solved my problem. There was still a Type added in the Preferred Type Editor, that didnt exist anymore. You can close this or maybe it helps someone else in the future