And the console errors
- GetName - I don't call GetName anywhere that I can see. It looks like HotReload, a resource that I cannot remove because it isn't located in the
Assets/ folder
UnityException: GetName can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don't use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.
UnityEngine.Object.GetName () (at <7b8172fcdd864e17924794813da71712>:0)
...
- We have some kind of problem with the dictionary here referencing an null entry, but it seems that the problem is in the Unity UI elements, not in my code.
NullReferenceException: Object reference not set to an instance of an object
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <59bd7c40c082431db25e1e728ab62789>:0)
...
UnityEngine.UIElements.UITKTextJobSystem+PrepareTextJobData.Execute (System.Int32 index) (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
- This warning looks like something to do with the Unity UI, not my code.
MeshGenerationContext is assigned to a VisualElement after calling 'UnityEngine.UIElements.UIR.MeshGenerationCallback'. Did you forget to call 'End'?
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
There are more, but none of them seem to be referencing my code. However if I run my game and try to open up my Fan to look at my <string, bool> pairs, Unity throws these errors.