Dialogue Tree Editing missing characters during typing

Forums 💬 NodeCanvas ⚙️ Support Dialogue Tree Editing missing characters during typing

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18407
    zsoik
    Participant

      We have encountered a strange issue in the dialogue trees. When we type text into text boxes in the node inspector, you can only do it with a rate of like 2 characters per second or node canvas will start to drop characters (not very comfortable when you’re just writing down longer text!).

      Issue manifestation

      I poked around in the code as the issue only happens on key-ups (i.e. when you keep a key pressed, the issue is not occurring) and found the LOC (GraphEditor.cs:356) which, when adjusted, fixes the behavior (rapid typing again!). But I guess changing it will mess around with the Undo/Redo and asset serializing so I guess it’s not the way to fix it but may be a good starting point for further investigation.

      Offending LOC

      imgur.com/a/tZlfG

      #18409
      Gavalakis
      Keymaster

        Hey,

        While this flickering is indeed happening, at least to me here the control does not lose focus while typing. This is weird. :/
        What version of Unity this is happening to you?

        I will certainly take a better look at this, but a quick and safe fix would be to replace the line there with this:

        #18408
        zsoik
        Participant

          Hi,

          we’re currently on 5.4.0f2. Your hotfix has helped, thank you very much!

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