View Issue Details

IDProjectCategoryView StatusLast Update
0030426RunnerHTML5Public2019-01-21 09:38
ReporterDanAssigned ToCoreTech 
PriorityMediumSeverityB - MajorReproducibility100%
Status AssignedResolutionOpen 
PlatformHTML5OSWindows 10OS VersionPro x64
Product Version2.2.1 
Target VersionFixed in Version 
Summary0030426: HTML5: clickable_add() is broken by obfuscation if your URL is a script in the project
Descriptionclickable_add() no longer works if your URL is another script in the project - the destination script can't be found, and so your game gets an error in the console when you click the button in-game. Note that if you run the game in debug it will work, so this is seemingly an obfuscation issue with the script name.

clickable_add() works correctly if the URL is a string for a website.
Steps To Reproduce1. Run the attached sample for HTML5.
2. Click the left square and observe the game opens a new browser window to our website.
2. Click the right square and observe the game does nothing - check the console to see the error.
Repro: 100%
Tagshtml5, Runner
1.4 Found In
2.x Runtime Found In2.2.1.291
2.x Runtime Verified In

Activities

Dan

2019-01-18 14:28

Adminstrator  

testClickableAdd.yyz (22,059 bytes)
Screenshot_4.png (7,160 bytes)
Screenshot_4.png (7,160 bytes)