JS error on c2runtime.js on html5 exported package

Bugs will be moved here once resolved.

Post » Mon Oct 19, 2015 2:57 am

Problem Description
____ Error on c2runtime.js causing partial load on IE, FF and Chrome after html5 export and post to server ____

Attach a Capx
____ pipilopop.com/test/shooter1/test.capx ____

Description of Capx
____ Shooter from the beginers guide to construct ____

Steps to Reproduce Bug
  • open pipilopop.com/test/shooter1 on any browser
  • Loading splash Works but then it goes to a black screen, sometimes loads the game's background
  • Browser console: TypeError: this.type.rb[0].frames[0] is undefined - c2runtime.js (line 306, col 297)

Observed Result
____ TypeError: this.type.rb[0].frames[0] is undefined - c2runtime.js (line 306, col 297) ____

Expected Result
____ I just followed the beginers tutorial step by step and game Works as expected until exported using hmlt5 website option and uploaded to my server ____

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
____ Windows 7 Pro Sp1 ____

Construct 2 Version ID
____ construct2-r212-2 ____
B
3
Posts: 2
Reputation: 179

Post » Mon Oct 19, 2015 5:29 am

An object with a reference in an on start of layout event was left out of layout boundaries causing the package compilation to be wrong. I would expect for the package creation process to fail and throw a warning about it.

Sorry for the somehow misplaced post.
B
3
Posts: 2
Reputation: 179

Post » Thu Nov 12, 2015 12:04 pm

Here is your project exported with minification enabled and running on the Scirra server: http://www.scirra.com/labs/testexport/

It works fine here, no errors. Closing as can't reproduce.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,600


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests