View Issue Details

IDProjectCategoryView StatusLast Update
0025508RunnerVariables (In-Built)Public2018-08-13 15:01
ReporterzenAssigned ToMike Dailly 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Platform OS OS Version
Product VersionPre-2.1.3 
Target VersionFixed in Version2.1.3 
Summary0025508: Variables: Issues with IDs getting mixed up on HTML5 [because of difference vs Windows and both being wrong]
DescriptionIn my current project that I developed since earlier beta. The ID of the objects and sprites seems to get mixed up when running in HTML5.

I can set a sprite_index to a certain sprite by using its name and another sprite will be used. I destroy an object and it destroys the wrong object(in this projects case, its my player it destroys).

Please see the sample URL for the problem I'm facing.
Additional InformationOriginal helpdesk ticket:
1.4 Found In2.0.4.64
2.x Runtime Found In
2.x Runtime Verified In


Mike Dailly

2017-04-24 14:29

Developer   ~0052903

Last edited: 2017-04-24 14:29

View 2 revisions

Example is bugged.

"activate_next_unit" on player is checking an empty list, which returns "undefined". In the Native runner doing a "with()" using the "undefined" result, which is being cast to 0 - which is the oPlayer object.

So by a total fluke, the game works.

HTML5 has been made consistently wrong for now. Windows version needs fixing so it throws a code error, then HTML5 change can be reverted.

Bug number has been added to source comment for easy finding.

Mike Dailly

2018-07-30 15:25

Developer   ~0060971

already fixed - kind of. See comments.