View Issue Details

IDProjectCategoryView StatusLast Update
0030262RunnerHTML5Public2019-01-31 09:36
ReporterDanAssigned ToRussell Kay 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Platform-OSWindows 10OS VersionPro x64
Product Version2.2.0 
Target Version2.2.2Fixed in Version2.2.2 
Summary0030262: HTML5: instance_change() doesn't initialise the new object's instance variables
DescriptionThe HTML5 export doesn't set object variable defaults after calling instance_change(). This is breaking some of my code which relies on the Variable Definitions screen to set default values for children objects.

In the attached example, obj_start changes to obj_text, which defines text under Variable Definitions to "Hello world!". On Windows it displays "Hello world!" as expected, but on HTML5 it displays undefined.
Steps To Reproduce1. Import the attached sample.
2. Run it for HTML5.
Repro: 100%
Tagshtml5, Runner
1.4 Found In
2.x Runtime Found In2.2.0.261
2.x Runtime Verified In2.2.2.302



2018-11-29 11:11


instance_change_bug.yyz (36,039 bytes)

Russell Kay

2018-12-10 14:09

Manager   ~0062199

Fixed in gitlab