Include Event Sheet = Won't Start Game

Bugs will be moved here once resolved.

Post » Mon Jun 25, 2012 7:07 pm

So I ran into a problem where all of my games stopped working when attempting to play them. I'd try to test them out, but I'd get a blank screen. I'd upload them to dropbox and same thing.

After some experimentation and a little luck, I've narrowed the problem down to Event Sheet Includes.

Capx!
Include Sheet Bug

Try to test it out, and you get a blank screen (if the game's fullscreen mode is set to 'off', it shows the gray border with just gray inside). If you go into Event Sheet 1 and delete the Include Event Sheet 2, another test attempt will show that the game runs fine.

This is probably pretty problematic for complex games.
B
58
S
20
G
7
Posts: 305
Reputation: 8,804

Post » Mon Jun 25, 2012 7:15 pm

Dont know if it's the same thing but the bug is on line 74 of file eveng.js:

case 2:     // include
        {
            var inc = new cr.eventinclude(this, parent, m);
            (...)

Undefined is not a function. So eventinclude is probably undefined. It appears there's other files involved too. Just check chrome debugger.
It's a critical bug as it prevents the game from running completelly.Kiyoshi2012-06-25 19:17:59
B
58
S
13
G
10
Posts: 632
Reputation: 12,505

Post » Mon Jun 25, 2012 7:21 pm

Same here. It appears to be a new bug in r96 because the same file runs fine in r95.
B
22
S
9
G
5
Posts: 122
Reputation: 5,386

Post » Mon Jun 25, 2012 7:27 pm

^Just got this error as well after updating to r96
Image
B
57
S
14
G
6
Posts: 493
Reputation: 11,253

Post » Tue Jun 26, 2012 12:25 am

me too. Removin the include event sheets and it works again
B
13
S
5
G
2
Posts: 306
Reputation: 3,262

Post » Tue Jun 26, 2012 1:17 am

I experienced the same bug, just a blank black screen after updating to r96. When I reversed back to r95, all worked well again.
B
19
S
6
G
5
Posts: 98
Reputation: 4,484

Post » Tue Jun 26, 2012 1:44 am

Same. Glad you found the cause; I was freaking out for a bit because this only happens with my larger projects which I can't submit .capx's of!
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Tue Jun 26, 2012 3:21 am

Same problem with mine after updating to r96.
None of my own programs .capx or .caproj work but some examples I tried from Constuct2 folder did diplay & ran ok.
B
19
S
6
G
3
Posts: 2
Reputation: 4,690

Post » Tue Jun 26, 2012 6:13 am

I also ran into this problem, and after some serious debugging (removing almost every line of events) I can confirm that including event sheets is what is causing the error.
B
20
S
5
G
4
Posts: 51
Reputation: 4,139

Post » Tue Jun 26, 2012 11:33 am

Sorry about this, should be fixed in the next build now, it was a straightforward solution. A great deal of the runtime was refactored since the last build for the javascript minifying optimisation (see the performance note in r96), and one of the code changes accidentally broke includes. Luckily it's just a beta release - this is why we call them beta!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest