NodeCanvas Forums › Support › Odin Inspector Causing Constant Log
Tagged: Log
I’m using the latest version of Odin Inspector 1.0.3.0 and Node Canvas 2.6.3 in my project. If the Odin package is in the project however, the first time you click a FSM State node to inspect it while in play mode will always log this message. I can suppress the log since I use Console Pro 3, but I was wondering if that is the correct action to take or if there is an underlying issue. Thanks.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null will be excluded ParadoxNotion.Design.EditorUtils.GetAssemblyTypes() Assets/Plugins/ParadoxNotion/NodeCanvas/Framework/_Commons/Design/PartialEditor/EditorUtils/EditorUtils.cs:183 ParadoxNotion.Design.EditorUtils.GetCustomDrawer() Assets/Plugins/ParadoxNotion/NodeCanvas/Framework/_Commons/Design/PartialEditor/EditorUtils/EditorUtils_GUI.cs:100 ParadoxNotion.Design.EditorUtils.GenericField() Assets/Plugins/ParadoxNotion/NodeCanvas/Framework/_Commons/Design/PartialEditor/EditorUtils/EditorUtils_GUI.cs:214 ParadoxNotion.Design.EditorUtils.BBParameterField() Assets/Plugins/ParadoxNotion/NodeCanvas/Framework/_Commons/Design/PartialEditor/EditorUtils/EditorUtils_BBParameterEditor.cs:38 ParadoxNotion.Design.EditorUtils.BBParameterField() Assets/Plugins/ParadoxNotion/NodeCanvas/Framework/_Commons/Design/PartialEditor/EditorUtils/EditorUtils_BBParameterEditor.cs:17 NodeCanvas.StateMachines.NestedBTState.OnNodeInspectorGUI() Assets/Plugins/ParadoxNotion/NodeCanvas/Modules/StateMachines/Nodes/NestedBTState.cs:153 NodeCanvas.Framework.Node.ShowNodeInspectorGUI() Assets/Plugins/ParadoxNotion/NodeCanvas/Framework/Design/PartialEditor/EDITOR_Node.cs:687 NodeCanvas.Framework.Graph.ShowInspectorGUIPanel() Assets/Plugins/ParadoxNotion/NodeCanvas/Framework/Design/PartialEditor/EDITOR_Graph.cs:475 NodeCanvas.Framework.Graph.ShowGraphControls() Assets/Plugins/ParadoxNotion/NodeCanvas/Framework/Design/PartialEditor/EDITOR_Graph.cs:139 NodeCanvas.Editor.GraphEditor.OnGUI() Assets/Plugins/ParadoxNotion/NodeCanvas/Framework/Design/Editor/Windows/GraphEditor.cs:473 UnityEditor.DockArea.OnGUI() |
For now, I have done this to suppress the log.
In EditorUtils.cs line 183:
1 2 3 | #if !ODIN_INSPECTOR Debug.Log(asm.FullName + " will be excluded"); #endif |
Hello and sorry for the late reply.
I haven’t yet checked Odin (although I want to do so). Odin uses it’s own serialization system and I can’t tell for sure why it is causing this log in the console to appear without me using it first, but it certainly seems odd the fact that it interferes with some part of NodeCanvas code. Hopefully it is just a log and it does not mess anything else up. I will grab a copy of Odin to confirm.
Does everything else seem to work correctly with Odin in project?
Thank you for reporting this.
[quote quote=12345]
Does everything else seem to work correctly with Odin in project?
[/quote]
Everything seems to work ok, yes. Odin does have custom serialization, but it is never used by default. In fact, you have to go through several steps to enable it on a script. Mainly it is for drawing in inspectors with attributes.
Hey,
Thanks for the follow up. I still have to test Odin, but I will do so as soon as I return from summer vacation.
Thank you!