Microsoft Visual C++ Runtime Error when Testplaying

Hi, I've recently encountered this problem when testplaying my current project (see screenshot attached).

Screenshot 2024-09-27 234643.png


For context, I'm transferring my project over from another PC to my laptop, in hopes of continuing work on it on the latter as I don't currently have immediate access to my PC. I installed VX Ace through Steam, then copied the whole project file over into the VX Ace folder (I think this is the correct way to do it). I don't think any of the files are corrupted, and I've already run a check and fixed them if they were.

Interestingly enough, I tried testplaying previous projects of mine and they all work perfectly fine, so it's just this one that causes an error. The error logs just tell me that the application Game.exe crashed, and I don't know if it's possible to wring more information out of them.

Some possibly relevant information:
- Both PC and laptop use Windows 11.
- The VX Ace RTP is installed.
- I've tried repairing the Microsoft Visual C++ Redistributables to no avail, but I don't think they're entirely the issue anyway as only one project initiates this error.

I'd appreciate some help on this issue, and please let me know if any additional information is required to solve this. Thank you so much for your time.
Update: It was caused by some edit I previously made to one of my scripts. I replaced the edited script with the original and it ran fine. I still don't understand why it worked perfectly fine on my PC, but this case can be marked as solved. Thanks!
This thread is closed due to being indicated it is solved. If you need it reopened, report the thread to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/microsoft-visual-c-runtime-error-when-testplaying.172208/