[Bug] string properties in tasks don't update their values properly

Forums 💬 NodeCanvas ⚙️ Support [Bug] string properties in tasks don't update their values properly

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17603
    sersch
    Participant

      – Have an ActionTask with a string property (mine is marked with [TextAreaField(100)], not sure if that matters)
      – Create an action with multiple those tasks and modify their string properties.
      – Now if switching between those ActionTasks, the string property won’t update properly but will instead display the string value of the last edited task.

      #17605
      sersch
      Participant

        Seems to be true also for other properties (like int or float) – it is important that both tasks are of the same type to reproduce this bug.

        #17604
        Gavalakis
        Keymaster

          Hello,

          I totally understand what you mean. This is partially due to how Unity’s input fields work. Basically, if an input field is already focused (editing text) and you switch to another input field without first un-focusing the previous input field, the new input field will still display the previous input field text/number.

          To work around this “refresh” issue, please simply click on the node once (that will un-focus all input fields). I will of course try to find a better solution around this.

          Thanks for reminding be of this UI issue’s existence!

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