View Issue Details

IDProjectCategoryView StatusLast Update
0031428RunnerWindows (YYC)Public2019-10-15 11:59
ReporterDanAssigned ToRussell Kay 
PriorityHighSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformWindows YYCOSWindows 10OS Version1903
Product Version2.2.4 
Target Version2.2.4Fixed in Version2.2.4 
Summary0031428: Windows YYC: Post-increment optimisation in 2.2.4 causes issues when parsing script arguments array, tries to read off the end
DescriptionWhen running games on Windows YYC (and likely other YYC platforms), the post-increment optimisation in 2.2.4 to make this a pre-increment when the compiler determines it's safe to do so is causing an issue when parsing a script arguments array, as this will now try to read off the end of the array.

Windows VM is fine, as is if you parse an array created by the user.
Steps To Reproduce1. Import the attached sample.
2. Run it for Windows YYC.
3. Press and release the 1 key on your keyboard, as directed.
4. Observe a code error says the game tried to read a non-existent argument.
5. Run the game for Windows VM and press 1, and observe all works correctly.

Repro: 100%
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.2.4.366
2.x Runtime Verified In2.2.4.368



2019-10-11 11:39


YYCpostinc.yyz (21,477 bytes)

Russell Kay

2019-10-11 15:17

Manager   ~0064964

Fixed in gitlab


2019-10-11 15:32

Adminstrator   ~0064967

Runtime 367+

Scott Dunbar

2019-10-15 11:59

Adminstrator   ~0064987

Verified fixed