Not a Bug

On Draw Gizmos Events only in embed mode

Wagner Simões Ghidini 3 years ago updated by Federico Martinez 3 years ago 3

Hello, I would like to ask if the event "OnDrawGizmos" only works in embed mode. In macro mode it generates the following stack in any unit that has input to a gameobject.

InvalidOperationException: Missing target object for 'UnityEngine.Transform.localToWorldMatrix'.
Ludiq.Member.EnsureReady () (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/Member.cs:684)
Ludiq.Member.Get () (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/Member.cs:694)
Bolt.GetMember.Value (Ludiq.Recursion recursion) (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Runtime/Flow/Framework/Codebase/GetMember.cs:64)
Bolt.ValueOutput.GetValue (Ludiq.Recursion recursion) (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Runtime/Flow/Ports/ValueOutput.cs:92)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Not a Bug

At the moment yes, because macro graphs are not instantiated for each object in the editor. I'll look into bypassing that in the future.

Got it. Thanks for the quick answer =)

I want this too!!! please let me know if there is a workaround thanks!!