My issue is as the following:
I cannot mod SOMA or test other mods through the Debug Mode because of Runtime Error R6025. When I want to override an existing script file (Making the game use the mod's script file instead of the game's script file, let's say, Player.hps), the game will use my version of said script file
for the first 2 times. What does it mean? It means that if I open my map through the debug mode and restart the map (Pressing F5)
2 times, the game will suddenly use the original file
instead of my new file, and if I exit the game at this point it will give me this error:
*Very Important Note: Even if I just copy the file and make zero changes to it, the problem will still occur.
It's really frustrating because every time that happens, the game won't use any of my custom modules or scripts, making it a nightmare to mod.
Also, it's not happening only with my mod, it happens with
every mod that uses a custom script file that overrides the original script files from SOMA.
This Issue has already happened with 2 different computers.
Now,
This is what I've been trying so far to fix the problem:
- Reinstalled vcredist 2005 SP1, 2008, 2010, 2012 U4, 2013, 2017 (32- and 64-bit)
- Installed Visual F# Runtime 2.0
- Steam Integrity Check
- Reinstalled SOMA
- Updated Graphic Card Drivers
- Updated Operation System
None of this fixed my problem. I have no idea what to do.
I added my mod's hpl.log file to this message.
If you want me to send a portion of my mod that includes every script file, I can send it too.