Sure, I've appended the crash message below, and I've uploaded the CrashInfo file here:
https://drive.google.com/file/d/1WNVKOHaYn9HYax55KrQxvRI79nyY3A82/view?usp=sharingThe functions that called GetGlobalInt(foo) before SetGlobalInt(foo, bar) were called in game_start(). Also, thanks for the heads-up that GetGlobalInt and SetGlobalInt have been deprecated!
Separately, since upgrading from 3.5.1 to 3.6, I noticed that AudioChannel.LengthMs is sometimes returning 0 even when AudioChannel.PlayingClip.ID is not null. Namely, in the same place in my code, the same log message sometimes prints this:
channel.ID: 3, channel.PlayingClip.ID: 267, channel.LengthMs: 3692
And sometimes it prints this:
channel.ID: 3, channel.PlayingClip.ID: 267, channel.LengthMs: 0
I can reproduce this consistently, but not every time, when I skip the cutscene in which the clip is played. However, the behavior sometimes occurs (though far less often) even if I don’t skip the cutscene. (I had the same code in AGS 3.5.1, and channel.LengthMs never returned 0.)
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x00537F70; program pointer is -42, ACI version 3.6.0.10, gtags (78,214)
AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and contact the game author for support or post these details on the AGS Technical Forum.
in "Interface.asc", line 1001
from "Interface.asc", line 1010
from "Extender.asc", line 587
from "Extender.asc", line 596
from "Extender.asc", line 1090
from "Extender.asc", line 3539
(and more...)