Unity New Input module – error

Forums 💬 FlowCanvas ⚙️ Support Unity New Input module – error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12131
    codemonger
    Participant

      I installed the module for the new unity input and have noticed the following:

      Side Note: The file should be named NewInputEvents same name as the class – like all other nodes this makes it editable. Regardless I get an error:

      the reflection type seems to be returning error —  (Type Request Error): Type with name ‘UnityEngine’ cannot be resolved.

      Here is the code that is returning error:

      if ( action.type == InputActionType.Value ) {

                                    var controlType = ParadoxNotion.ReflectionTools.GetType(“UnityEngine.” + action.expectedControlType, true);

         if ( controlType != null ) {

                              AddValueOutput(“Value”, controlType, () => actionValue);            }

      #12132
      codemonger
      Participant

        My issue was not with the flow canvas node but with my input action setup. I needed to change action type from value to button.

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