I am making a program in which you use an edit box to type in a name. To make sure the system is consistent, there is a line of code that is constantly setting the caret position to the end, to make sure you can't go to an earlier section of the edit box (This is because the edit box is not visual. Instead, the text of the edit box is being sent to the alterable string of a string object, so there is no visual caret). After a recent update, I have discovered that updating the caret position of an edit box using a command will crash my program every single time, regardless of where I'm moving the caret to.
This is the most recent update of the program on Steam, and this has only started happening since I updated.