OnButtonPressed is firing multiple times per button press

Describe the bug:

Pressing a key is firing OnButtonPressed multiple times

How do you cause this bug?

  • Add a print statement to an OnButtonPressed entry point
  • Note how many times it prints when you tap a button

Screenshots / video of bug:

Which platform: PC

Which input: Keyboard/mouse

Your Crayta username: Cereal

Game seen in (including “Hub” or “Editor for XYZ”): Editor, champions, bubble busters

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Every time

Time + date seen: October 12 2022

Version number (found in Help tab in Settings): 0.h1.98.133663

Hi @Cereal,

I’ve set up a fresh game with the example script you used in your video and attached it to the player template, previewed the game and I’m only getting a single print for each button press. This is the case on live and on an internal build. Can you confirm if this reproduces for you in a completely fresh game where this script is the only thing you’ve set up?

Thanks!

1 Like

@QA_NFraser I’m not running into this anymore. Must have been a fluke

@Cereal great, thanks for confirming!