View Issue Details

IDProjectCategoryView StatusLast Update
0031486RunnerHTML5Public2019-11-15 10:38
ReporterScott DunbarAssigned ToLuke Brown 
PriorityHighSeverityB - MajorReproducibility100%
Status ClosedResolutionFixed 
PlatformHTML5OSOS Version
Product Version2.2.4 
Target Version2.2.5Fixed in Version2.2.5 
Summary0031486: HTML5: js Extensions are sometimes not loaded before their function calls
Javascript extensions in HTML5 are sometimes not loaded before their function calls and skips the init function calls, or gives an error when trying to use the functions in game

Steps To Reproduce1. Import attached project
2. Run project as HTML5 game in debug mode
3. Observe error in the debug window
- Extension inits are triggered before they are loaded
4. Observe error in browser console
- This in turn gives a javascript error for trying to fire the general extension function in create event

As you should see in the browser console both the init functions inside the js extensions are not fired as they should log the function trigger

5. Now enable the use of the engine particles
- To give the game some content to load
6. Run project as HTML5 game in debug mode
7. Now the extensions init functions trigger
- No javascript error when firing the create event to trigger general extension function.
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.2.4.374
2.x Runtime Verified In2.2.5.375


Scott Dunbar

2019-11-13 14:05


html5_extension_init_bug.yyz (15,276 bytes)

Luke Brown

2019-11-13 16:41

Developer   ~0065107

fixed in gitlab

Scott Dunbar

2019-11-15 10:38

Adminstrator   ~0065119

Verified in /