Node menu Loading…” forever”

Forums đź’¬ FlowCanvas ⚙️ Support Node menu Loading…” forever”

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12120
    goor
    Participant

      I debugged a little and found the culprit: In ‘object[] RTGetAllAttributes(this Type type)’ method I get exception for some Unity types. You already tried to solve this by wrapping ‘attributes = type.GetCustomAttributes(true)’ call into try finally. This is not enough, because when you omit the catch block, the exception is rethrown. For some reason It wasn’t logged in my console, so it was harder to find. Solution:

      Change

      try { attributes = type.GetCustomAttributes(true); }
      finally { _typeAttributes[type] = attributes; }

      To

      try { attributes = type.GetCustomAttributes(true); }
      catch
      {
      // ignored
      }
      finally { _typeAttributes[type] = attributes; }

      FlowCanvas 3.2.5
      Unity 2021.3.3f1

      #12121
      Gavalakis
      Keymaster

        Thank you 🙂

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.