Node menu “Loading…” forever

FlowCanvas Forums Support Node menu “Loading…” forever

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3295
    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

    #3301
    Gavalakis
    Keymaster

    Thank you 🙂

    Join us on Discord: https://discord.gg/97q2Rjh

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