View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0031067||Runner||Windows (YYC)||Public||2019-06-19 17:27||2019-06-24 15:47|
|Reporter||Dan||Assigned To||Russell Kay|
|Priority||High||Severity||A - Crash/Hang||Reproducibility||100%|
|Platform||Windows (YYC)||OS||Windows 10||OS Version||Pro x64|
|Target Version||2.2.3||Fixed in Version||2.2.3|
|Summary||0031067: Windows (YYC): Game crashes with no error dialog if you try to draw_sprite_ext() a sprite which doesn't exist|
|Description||On Windows (YYC) you will see the game crashes with no error dialog if you try to draw_sprite_ext() a sprite which doesn't exist. E.g.,: a sprite_index which isn't set or a variable set to a number which doesn't correspond to a legit sprite. The sample shows both these routes.|
If you have this code mistake during startup you won't actually see the runner appear (hence the use of an alarm in this sample). VM will tell you about your code error.
|Steps To Reproduce||1. Run the attached sample for Windows YYC.|
2. Observe the game silently closes itself after a short delay.
3. (Optional) Run again for VM and observe you get an in-game code error dialog.
|1.4 Found In|
|2.x Runtime Found In||220.127.116.111|
|2.x Runtime Verified In||18.104.22.1689|
testdrawingnosprite.yyz (18,248 bytes)
||Note that the fix is to make sure the error is shown, the same as it is on VM.|
||All good in IDE v22.214.171.1248 Runtime v126.96.36.1999. Closing.|