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

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

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

      #21774
      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.

        #21773
        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.