[Bug] Editing dynamic var name

Forums 💬 NodeCanvas ⚙️ Support [Bug] Editing dynamic var name

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16855
    psykaw
    Participant

      Hey,

      There is a bug while editing dynamic var name. You can see it in attachment.

      Repro steps :
      – Add two action with SetFloat task on each

      – Set Value A as dyanmic Var for each task

      – Select one of SetFloat task

      – Start editing name of Value a var + type some name

      – Select other action node

      See than name is applied on the second task. 🙁

      #16856
      Gavalakis
      Keymaster

        Hey,

        Hm. This seems a problem with Unity’s DelayedTextField in general rather than specific problem to dynamic variables field, which occurs if you do not confirm the change (hit enter for example) before jumping to a different inspector. If you open up BBParameterEditor.cs and change line #93 from using a “DelayedTextField” and into using a normal “TextField”, there is no longer this issue. I opted to use DelayedTextField there for a few reasons, but normal TextField should also work fine. I might change this permanently as well.

         

        Let me know.

        Thanks.

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