[186.2] universal app 8.1 export - crash on suspend

Bugs will be moved here once resolved.

Post » Tue Nov 04, 2014 1:34 pm

Problem Description
Game crashes on entering suspend state
0x800a138f - JavaScript runtime error: Unable to get property 'suspend' of undefined or null reference

Steps to Reproduce Bug
Start app on Windows Phone, and then turn phone screen off, or leave phone to enter suspend state on its own

Observed Result
Unhandled exception at line 300, column 43 in ms-appx:.../c2runtime.js

Construct 2 Version ID
186.2
B
58
S
9
Posts: 22
Reputation: 3,953

Post » Tue Nov 04, 2014 1:45 pm

interesting.

I just submitted an app with 186.2 . . . I did not test suspend. I will check when I get home if it works or not (I don't have a physical windows phone)
B
46
S
20
G
9
Posts: 544
Reputation: 9,313

Post » Wed Nov 05, 2014 8:17 am

If this helps, this is the part of .js that creates problem:
Fa.gH = function (a) {
if (!this.jH) {
!a && N.resume &&
N.resume(); var b, c; b = 0; for (c = U.length; b < c; b++) U[b].HH(a); a && N.suspend && N.suspend()
}
B
58
S
9
Posts: 22
Reputation: 3,953

Post » Wed Nov 05, 2014 12:25 pm

@oserk not going to lie, I completely forgot to try this out on my machine.

I am marking it in my calendar to do it tonight
B
46
S
20
G
9
Posts: 544
Reputation: 9,313

Post » Wed Nov 05, 2014 1:32 pm

Closing as duplicate of https://www.scirra.com/forum/r186-2-ejecta-error-on-suspend-can-t-resume_t118542, already fixed in next build.
Scirra Founder
B
402
S
238
G
89
Posts: 24,632
Reputation: 196,031

Post » Fri Nov 21, 2014 7:39 am

@oserk and @humanescape
Were you guys able to resume your apps on the new Build (before R189)?

I am still having this issue on my R187 built app. Gonna try R189 today.

Please let me know whats happening on yoru end too.
Create your own Isometric Runner Game using C2:

Image

Check out my game "Last of the Survivors":
Play Store
App Store
B
60
S
14
G
2
Posts: 427
Reputation: 5,564

Post » Sun Nov 23, 2014 5:22 pm

SamRock wrote:@oserk and @humanescape
Were you guys able to resume your apps on the new Build (before R189)?

I am still having this issue on my R187 built app. Gonna try R189 today.

Please let me know whats happening on yoru end too.

I have not tried R189 yet @Samrock

I did try an older windows app (made pre R187) on R187. I had to make some changes. I ended up replacing certain files until the errors stopped.

It would have been faster for me to start a new windows project with visual then trying to merge the old and new files.
B
46
S
20
G
9
Posts: 544
Reputation: 9,313

Post » Mon Nov 24, 2014 3:13 pm

@humanescape what are the files you replaced? Are they C2 files?

I compiled my APP using a R189 version project and am still facing problem at Suspend/Resume.

Would be great if you can try too :)
Create your own Isometric Runner Game using C2:

Image

Check out my game "Last of the Survivors":
Play Store
App Store
B
60
S
14
G
2
Posts: 427
Reputation: 5,564

Post » Mon Nov 24, 2014 3:26 pm

Please note this is a closed bug report - if you still have issues and want them investigated please file a new bug report following all the guidelines.
Scirra Founder
B
402
S
238
G
89
Posts: 24,632
Reputation: 196,031

Post » Mon Nov 24, 2014 5:04 pm

Thank you @Ashley.

I will do that.. Will create two versions

With and without Audio. Lets close this issue!! :)

@oserk and @humanescape woudl be great if you guys can try at your end too. Let know the Phone models you tested on.
Create your own Isometric Runner Game using C2:

Image

Check out my game "Last of the Survivors":
Play Store
App Store
B
60
S
14
G
2
Posts: 427
Reputation: 5,564


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests