Windows 8 Validation Errors

Discussion and feedback on Construct 2

Post » Wed Oct 17, 2012 5:33 pm

I just wanted to get some feedback on the validation errors I am getting during the certification test.

I will state, this app is currently on the App Store, Droid Store, and Chrome Stores with no reports of any errors on any of them.

Crashes and hangs test

FAILED
App launch tests

Error Found: The app launch test detected the following errors:?Failed to stop the app 4d71a3ef-5a66-4c94-967c-72fe59a8f68f_1.0.0.0_neutral__y71mh8ak33z1a.

How to fix: Investigate, debug the app in question to identify and fix the problem.


Performance test

FAILED
Bytecode generation

Error Found: The bytecode generation test detected the following errors:?This package was deployed for development or authoring mode. Uninstall the package and re-install it normally.

Impact if not fixed: As a performance optimization to accelerate JavaScript execution time, JavaScript files ending in the ".js" extension generate bytecode when the app is deployed. This optimization significantly improves start-up and ongoing execution times for JavaScript.

How to fix: You may need consider one or more of these steps to fix the issue:
- Ensure that event logging is enabled
- All JavaScript files are syntactically valid; otherwise exclude the respective files from the package
- Please note that you should uninstall all previous versions of the app before deploying
Otherwise exclude the respective files from the package.


FAILED
Performance suspend

Error Found: The performance suspend test collected the following results:?Application Error: Application Suspend was not detected for application App. This could be because your application failed to suspend correctly. Please consider re-running the test avoid interacting with the application while tests are running.

Impact if not fixed: Application suspend time is important for creating a fast and fluid experience for the user. This app will not be accepted by the Windows Store.

How to fix: The app received a failing score. You should ensure that your apps performance is consistent across different machine configurations. The informational metrics can provide insight into area that could help improve your apps performance, but do not impact your apps acceptance by the Windows Store. See link below for more information:

Thanks

B
94
S
29
G
11
Posts: 1,545
Reputation: 20,993

Post » Wed Oct 17, 2012 6:52 pm

I'm not sure why these tests have failed - I've heard other people have successfully submitted Windows 8 apps made in Construct 2 and had them approved.

App launch test: no idea why the app would fail to stop, does it do anything CPU intensive that could hang it on shutdown?

Bytecode generation: no idea about this, maybe there's a syntax error in the JS, might be worth checking it works in a browser with no errors in the browser console

Performance suspend: this is definitely supported in the engine, so again odd that it would report this.

Note: are you using the third party 'Metro' object by any chance? This has some problems that might be fixed by using the official plugin.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,620

Post » Wed Oct 17, 2012 7:39 pm

I fixed the bytecode issue once the app was no longer in test mode and went through the validation to upload to the store. The only error I got during this process was the App Launch Test. We'll see if they approve it anyway.

Only plugins I am using on this app are spritefont. I didn't even include the windows8 plugin that comes with construct.

I'll update how it goes after the MS gets their hands on it.
B
94
S
29
G
11
Posts: 1,545
Reputation: 20,993

Post » Thu Oct 18, 2012 6:18 am

[QUOTE=Ashley]
Note: are you using the third party 'Metro' object by any chance? This has some problems that might be fixed by using the official plugin.[/QUOTE]

@Ashley: Could you please point me to the issues that someone reported which is caused by the Metro plugin? I would like to fix it! :) I could not find any reports of issues in the forums..iunkn2012-10-18 07:11:40
B
18
S
7
G
5
Posts: 71
Reputation: 4,991

Post » Thu Oct 18, 2012 11:45 am

@iunkn - it's the fact it doesn't work with the minifier, which I believe I mentioned before. Exporting with the minifier is enabled by default, so exporting using the plugin is broken by default. Unless you've fixed it recently?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,620

Post » Fri Oct 19, 2012 1:05 am

Sure, mimifier is the only problem that I am aware of. I was confused because you said "some problems".

Can you give a hint on why it is broken with mimifier?
B
18
S
7
G
5
Posts: 71
Reputation: 4,991

Post » Fri Dec 07, 2012 2:01 pm

Hi @ArcadEd , can you solve this problem?
Cc: @iunkn @Ashley

I just tested WACK on my Windows 8 Games.
I've got similar problem in 'Bytecode generation' which give 'FAILED' result.

Screenshot:


This is .xml file from WACK(Windows Apps Certification Kit):
XML Filekenli2012-12-07 18:24:45
Enlik Tjioe
Game Programmer

Image

www.touchten.com
B
45
S
11
G
6
Posts: 176
Reputation: 7,289

Post » Fri Dec 07, 2012 6:10 pm

@Kenli,
That error actually only pops up when you do the certification test yourself. When you submit it to the store, and it redoes the test, it's gone.
B
94
S
29
G
11
Posts: 1,545
Reputation: 20,993

Post » Fri Dec 07, 2012 6:25 pm

[QUOTE=ArcadEd] @Kenli,
That error actually only pops up when you do the certification test yourself. When you submit it to the store, and it redoes the test, it's gone.[/QUOTE]

Oh, i see.
Thanks for your response @ArcadEd :)
Enlik Tjioe
Game Programmer

Image

www.touchten.com
B
45
S
11
G
6
Posts: 176
Reputation: 7,289

Post » Fri Jan 25, 2013 8:09 pm

Also, don't forget about resolution and various other requirements for Windows 8. I created a series of videos which walks through configuring, exporting and building Scirra games for Windows 8. Hope they help!

http://www.youtube.com/watch?v=Z7VIDaftjNs&list=PLybuIjaQXG4GhaHCZ7X0HQekm0rlHCUE9

Cheers
B
2
Posts: 6
Reputation: 337

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 14 guests