For the reference: it turned out that 3.6.0 engine has a bug where assigning any non-existant sprite number to a game object (such as a cursor) causes engine to corrupt the sprite cache, after which it may crash at any random point (even if the cursor is fixed afterwards).
(idk how the invalid number got there in the first place, but that's another issue)
Given this is affecting a game in beta stage, when it's too late to update to the next 3.6.1 version, I might release a new small patch for 3.6.0 with the safety fix.
(idk how the invalid number got there in the first place, but that's another issue)
Given this is affecting a game in beta stage, when it's too late to update to the next 3.6.1 version, I might release a new small patch for 3.6.0 with the safety fix.