FlowCanvas Forums › Support › Node menu “Loading…” forever
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
Thank you 🙂
Join us on Discord: https://discord.gg/97q2Rjh