Closed martin-t closed 1 year ago
@martin-t Please confirm that the issue is fixed.
I updated to the latest commit (102ec67c7ab86cb993864d51c49069dca0ec0fd0) and i still get a crash.
For completeness, here's the code i am using to repro: https://github.com/rustcycles/rustcycles/commit/c0045376816ae0437a1546fcfc9fcde4002b4a95
(I didn't make a separate test project because of how long fyrox takes to compile but i don't think anything in my game should be affecting this.... I am realizing now I could probably make a quick repro project as an example in the fyrox repo to reuse my build cache...)
OK, here's a standalone repro case: https://github.com/martin-t/Fyrox/commit/85fbe8d6e78f0765fa39d8031a205ebf5f0b5743
Press some letter keys, click the button, press letter keys again, should crash.
Steps to repro:
1) Create a textbox using this:
2) Type something into it using your keyboard so the cursor is not at the beginning
3) Clear the text:
4) Try to type into it again, it should crash with something like this: