My map has an annoying issue where it sometimes causes StarCraft II.exe to crash to Access Violation for a player who quits the map. It doesn't matter how the player quits (F10 menu, victory/defeat trigger, Alt+F4, Restart Mission in editor, Test Document while the map is already running), but it might have to require that the player is logged on to Battle.net for it to occur.
I tried to reproduce this alone while off-line and it didn't crash even after 200 games, then after two multiplayer games it happened again. The issue seems to occur more often for some players than others, possibly due to hardware differences. Here is a Bnet thread about it with a crash log.
I've spent almost a week several hours a day trying to fix or even reliably reproduce the issue, but I can't figure it out.
Has anyone had a similar problem or got any ideas how to narrow it down or solve it?
Update: Fixed. The crash was somehow related to using the flyer helper trick to send actor messages to specific players. I had a cloak ability that hid an actor for a player group and somehow that caused the game to sometimes crash on quit. There was something else related to it too but I didn't figure out what it was (it didn't crash when the only thing we did in the map was to use that ability, but it stopped crashing when we never used that ability, and stopped crashing when I made the ability use the standard Cloak + Burrowed flags).
My map has an annoying issue where it sometimes causes StarCraft II.exe to crash to Access Violation for a player who quits the map. It doesn't matter how the player quits (F10 menu, victory/defeat trigger, Alt+F4, Restart Mission in editor, Test Document while the map is already running), but it might have to require that the player is logged on to Battle.net for it to occur.
I tried to reproduce this alone while off-line and it didn't crash even after 200 games, then after two multiplayer games it happened again. The issue seems to occur more often for some players than others, possibly due to hardware differences. Here is a Bnet thread about it with a crash log.
I've spent almost a week several hours a day trying to fix or even reliably reproduce the issue, but I can't figure it out.
Has anyone had a similar problem or got any ideas how to narrow it down or solve it?
Update: Fixed. The crash was somehow related to using the flyer helper trick to send actor messages to specific players. I had a cloak ability that hid an actor for a player group and somehow that caused the game to sometimes crash on quit. There was something else related to it too but I didn't figure out what it was (it didn't crash when the only thing we did in the map was to use that ability, but it stopped crashing when we never used that ability, and stopped crashing when I made the ability use the standard Cloak + Burrowed flags).