View Issue Details

IDProjectCategoryView StatusLast Update
0031067RunnerWindows (YYC)Public2019-06-24 15:47
ReporterDanAssigned ToRussell Kay 
PriorityHighSeverityA - Crash/HangReproducibility100%
Status ClosedResolutionFixed 
PlatformWindows (YYC)OSWindows 10OS VersionPro x64
Product Version2.2.1 
Target Version2.2.3Fixed in Version2.2.3 
Summary0031067: Windows (YYC): Game crashes with no error dialog if you try to draw_sprite_ext() a sprite which doesn't exist
DescriptionOn 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 Reproduce1. 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.
Repro: 100%
TagsRunner
1.4 Found In
2.x Runtime Found In2.2.1.291
2.x Runtime Verified In2.2.3.339

Activities

Dan

2019-06-19 17:27

Adminstrator  

testdrawingnosprite.yyz (18,248 bytes)

Dan

2019-06-24 11:07

Adminstrator   ~0064248

Runtime 339+

Dan

2019-06-24 11:08

Adminstrator   ~0064249

Note that the fix is to make sure the error is shown, the same as it is on VM.

Dan

2019-06-24 15:47

Adminstrator   ~0064257

All good in IDE v2.2.3.428 Runtime v2.2.3.339. Closing.