R123 crash with no platform behaviour

Bugs will be moved here once resolved.

Post » Wed Mar 20, 2013 9:27 pm

I noticed that some users are having some issues with the platform behaviour in 123 and it will be hotfixed,soon ,but my game does not use the platform behaviour nor any 3rd party plug ins.

so for speed I am just posting the error as it is displayed in my project.

Javascript error!
uncaught TypeError:Object #<Object> has no method 'indexOf'
http://localhost:50000/common_prelude.js, line 461 (Colundefined)

Steps to reproduce:
1. run game that worked perfectly until r123
2.
3.

Observed result:

crash entire browser with error report shown above

Expected result:

run game

Browsers affected:
Chrome: yes
Firefox: untested
Internet Explorer: untested

Operating system & service pack:

windows XP service pack 3

Construct 2 version:

R123
    
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Wed Mar 20, 2013 10:10 pm

I have the same problem. =(
B
52
S
13
G
5
Posts: 21
Reputation: 5,314

Post » Wed Mar 20, 2013 10:39 pm

This can't be fixed without a .capx or actual steps I can follow to reproduce the issue. Can you provide this? A hotfix will likely go out tomorrow for the Platform issue so it would be good if this can be fixed too.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Mar 20, 2013 10:56 pm

I'll be really honest... I have no idea of why the bug started to happen, before the beta update of today, the game was working flawless...

After the last Beta update, my project didn't start anymore and I have no idea of how to reproduce the problem in a clean file, but here is the screens of the errors:

[code]The page in localhost:50000 say:
Javascript error!
Uncaught SyntaxError: Unexpected identifier http:///localhost:50000/Platform_behavior.js, line 135 (col undefined)

This is either a bug in Construct 2 or a problem in a third party plugin or behavior please report it to the developer!
[/code]
[code]The page in localhost:50000 say:
Javascript error!
Uncaught SyntaxError: Unexpected identifier http:///localhost:50000/Platform_behavior.js, line 15832 (col undefined)

This is either a bug in Construct 2 or a problem in a third party plugin or behavior please report it to the developer![/code]

And after leaving the tab and going back:
The page in localhost:50000 say:
[code]Assertion failure: No running layout in tick()
Error
   at Error (<anonymous>)
at assert2 (http://localhost:50000/preview_prelude.js:12:10)
at Runtime.tick (http://localhost:50000/preview.js:1262:3)
at Runtime.setSuspended (http://localhost:50000/preview.js:3272:26)
at HTMLDocument.onVisibilityChanged (http://localhost:50000/:105:4)[/code]






[code]Chrome Debug:
Viewport target-densitydpi is not supported. :50000/:11
Uncaught SyntaxError: Unexpected identifier Platform_behavior.js:135
1.     Uncaught TypeError: Cannot read property 'prototype' of undefined
------------------
          // Run any events scheduled with the Wait action
          this.isInOnDestroy++;
          
          this.system.runWaits();          // prevent instance list changing
Uncaught TypeError: Cannot call method 'runWaits' of undefined
          
          this.isInOnDestroy--;[/code]
ImageImageImageImageImageImage
B
93
S
20
G
13
Posts: 1,215
Reputation: 18,990

Post » Wed Mar 20, 2013 10:58 pm

Getting this error too but I can't isolated it to specific events.

More console information:

[code]
Uncaught TypeError: Object #<Object> has no method 'indexOf' common_prelude.js:461
cr.arrayFindRemove common_prelude.js:461
Runtime.ClearDeathRow preview.js:1749
Runtime.logic preview.js:1422
Runtime.tick preview.js:1280
Runtime.setSuspended preview.js:615
window.cr_setSuspended preview.js:3272
onVisibilityChanged
[/code]

If the hotfix tomorrow doesn't resolve it I will try to strip down current capx to isolate cause.

B
24
S
11
G
5
Posts: 140
Reputation: 5,004

Post » Wed Mar 20, 2013 11:11 pm

Hello in new in here:
I got the same Problem with every proyect that I have even with the example proyect too is the "Javascrip error" that pop up in every proyect run layout    
B
4
Posts: 4
Reputation: 333

Post » Wed Mar 20, 2013 11:30 pm

@ashley I am stripping my game down at the moment (large project) to try and isolate this.

Hopefully I can get a capx over to you.
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Wed Mar 20, 2013 11:35 pm

You can probably email a complete .capx for this one, as long as it doesn't use third party plugins. While small projects are what I typically ask for, I get the feeling this is something silly like a typo or something I can fix quickly once I see what's happening in a real project.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Mar 20, 2013 11:44 pm

I tested with an old resultat of tutorial with platform behavior and I had the problem.

Here is the capx, just run the game : https://dl.dropbox.com/u/15473488/r123_bug.capx
B
40
S
9
G
5
Posts: 127
Reputation: 6,609

Post » Thu Mar 21, 2013 2:09 am

@labithiotis exactly same as me.

http://i.imgur.com/M5uLzH5.jpg

Can't include capx as it's a finished game (200+mb).
I don't use platform behaviour. Can't pinpoint when it happens it seems random.

Chrome console dumps this:

Uncaught TypeError: Object #<Object> has no method 'indexOf' common_prelude.js:461
cr.arrayFindRemove common_prelude.js:461
Runtime.ClearDeathRow preview.js:1749
EventSheet.run eveng.js:180
Runtime.logic preview.js:1542
Runtime.tick preview.js:1280
(anonymous function) preview.js:3560plus12013-03-21 02:10:45
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest