[Solved] `ArgumentException: Invalid generic arguments` on get ISomeInterface

FlowCanvas Forums Support [Solved] `ArgumentException: Invalid generic arguments` on get ISomeInterface

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2032
    c0ffeeartc
    Participant

    Using following code will give exception when getting SomeClass.Instance.SomeInterface at FlowScript Canvas

    At first I add SomeClass.Instance to global blackboard
    Then I add SomeClass.Instance to FlowScript Canvas
    Then in Canvas I drag and drop “Value” nodes until dragging Get SomeInterface value gives exception.

    #2036
    Gavalakis
    Keymaster

    Hello,

    Hmm. I can’t really replicate this problem, but can you please open up ‘ReflectionTools.cs’ and in method named ‘CanBeMadeGenericWith’, comment out these lines:

    Please let me know if doing that, works for you.
    Thank you.

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

    #2037
    c0ffeeartc
    Participant

    I repeated steps on clean project and error didn’t occur, but in other project it was still present.
    After commenting those lines there are no errors :). Thanks.

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