Not a Bug

Not Supported Exception: Operation is not supported.

Jesse Ford 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 7
This happens as soon as I connect the flow to the Set Color. But nothing when connecting the variable to the Set Color.
Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Satisfaction mark by Jesse Ford 3 years ago

Sorry for the double post but incase the variable needs to be seen.

Update:  This is happening to all flows connected to a a variable it seems.

Update again (Sorry lol):  the error seems to only happen (turn red) when i select the object,  However if i connect the setup on this event and the object is not selected in the 3d port, it connects fine, but as soon as i select it it turns red and errors out.

Hopefully this helps.

Can you paste the full stack trace of the console for the NotSupportedException?

NotSupportedException: Operation is not supported.
Ludiq.ComponentHolderProtocol.GetComponent[Variables] (UnityEngine.Object uo) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Utilities/ComponentHolderProtocol.cs:70)
Ludiq.ComponentHolderProtocol.GetOrAddComponent[Variables] (UnityEngine.Object uo) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Utilities/ComponentHolderProtocol.cs:55)
Bolt.Variables.Object (UnityEngine.GameObject go)
Bolt.GetVariable.Get (Ludiq.Recursion recursion)
Bolt.Unit+<>c__DisplayClass56_0`1[System.Object].<ValueOutput>b__0 (Ludiq.Recursion recursion)
Bolt.ValueOutput.GetValue (Ludiq.Recursion recursion)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Not a Bug

I believe you're trying to use gizmos from a macro graph. This is unfortunately not supported at the moment! I have yet to figure out a way of doing that without instantiating the graphs in the editor, which doesn't seem possible.