Object variable references break after using the Update button while previewing a game

This bug only seems to affect object variable REFERENCES in your code. It doesn’t affect the variables itself.
After using the update button, everything that referenced an object variable will be set to 0, even when the variable itself can be a text with a value of “123 testing”.

There is also a new variable in the debugger (in object variables) and I think the problem might lie here. It seems like the preview starts referencing an empty variable instead of the proper one.
obraz

How to replicate:

  1. Create a reference to an object variable
  2. Use the update button
    obraz
    The text will be “0” even if the variable itself is “123 testing”.

This problem is also there when you use conditions (like pressing a key down) to change the text.

1 Like

Thank you for reporting an issue. It should be fixed in the next release.

1 Like