gta-chaos-mod / ChaosModV

Chaos Mod for Grand Theft Auto V
https://gta5-mods.com/scripts/chaos-mod-v-beta
GNU General Public License v3.0
258 stars 94 forks source link

[Bug] Mod Crash On SHV Reload (SC Only) #3052

Closed Rylxnd closed 1 year ago

Rylxnd commented 2 years ago

Describe the bug ChaosMod crashes when scriptUnregister is called on SocialClub versions.

To Reproduce

# As far as I know, this only happens on the SC version of the game.

pongo1231 commented 1 year ago

I am going to assume this doesn't happen anymore, otherwise feel free to reopen

Rylxnd commented 1 year ago

This still occurs even a few months later. It only appears to happen on the RGL version of the game. It doesn’t really « crash ». It just fails to unload properly when you hit CTRL + R. Resulting in it not loading back up. When you close the game Scripthook gives you an error dialog. I will try and find a screen shot.

Rylxnd commented 1 year ago

After further looking, im going to rule out the possibility that it is the SHV for MinGW that is causing the issues. I made a build environnent similar to ChaosModV. Only difference is the SHV for MinGW. They both start fine, put ChaosModV fails when scripUnregister is called. While the second environment doesn't. Indicating that this could be an issue with the SHV for MinGw.

Correct me if I'm wrong anywhere.