Windows phone 8.0/8.1/8.1+ none work All tests got failed

0 favourites
  • 3 posts
  • Even though it has been written in all of construct2 manuals that i should use universal export for windows 8.1 but since i could not find my app running even on 8.1 so i have tried separately 8.0 as well. I am licensed customer and i am seriously very disappointed that I have not receive any serious tip or guidance on this matter before on my previous post. So i am Posting this again with full information and tested benchmarks. I hope Mr.Ashely and others experts would take this post seriously and give me proper suggestions and tips to run an app on windows phone.

    In short :

    -----------------------

    8.0 exported version works fine and smoothly but without voice on real device but works fine on emulator

    8.1+ universal version crash everytime on emulator and on real device both , though the sounds were coming fine but game works very bad non-smoothly

    In Details

    ----------------------

    Phone Config:

    Nokia Lumia 720

    RAM 512

    Software: Windows phone 8.1 update

    OS Version: 8.10.14219.341

    Project: Space Blaster (From Construct2)

    https://dl.dropboxusercontent.com/u/104183650/spaceblaster.zip

    Construct2 Exported 8.0 Phone version:

    --------------------------------------------------------------

    SDK: Windows 8.0 Visual Studio 2012 express for Windows Phone , Emulator WVGA 512MB

    Compile Time Output:

    1>Deploying C:\Users\coeia\Desktop\terminal_construct2\test\windows8.0\Bin\Debug\NewProject_Debug_AnyCPU.xap...
    1>Connecting to Emulator WVGA 512MB...
    1>The application is already installed on the device. Checking if an incremental deployment is possible...
    1>Doing incremental deployment...
    1>Updating information related to modified files...
    1>Deployment of C:\Users\coeia\Desktop\terminal_construct2\test\windows8.0\Bin\Debug\NewProject_Debug_AnyCPU.xap succeeded.
    ========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========[/code:97pd63ka]
    [b]Warning: [/b]None
    
    [b]Problems Displays on Emulator: 
    ##############################[/b]
    1) The project compilation works fine on emulator but it stuck in the loading.
    
    [b]Resolution on emulator loading:
    ############################### [/b]
    1) If i move all the audio files  from Sound folder to the Music folder then amulator works perfectly fine. No sound issue nor any display issue SpaceBlaster working fine and well. But music is no longer looping.
    
    [b]Problem Displays on Real Device: 
    ################################[/b]
    1) The project deployed successfully but when we run the application then i do not hear any sound.
    Game play works fine and smoothly but there is no sound at all.
    
    [b]Resolution on Real Device:
    ##########################[/b]
    I Cannot Find yet 
    
    (Created another project used PCM wav files , did everything but sound did not works so it seems like using phone 8.0 sdk does not work with sound at all)
    
    [b]Construct2 Exported 8.1 Universal version:
    ---------------------------------------------------------------[/b]
    [b]SDK: [/b]Windows 8.1+ Visual Studio 2013  , Emulator WVGA 4 inch 512MB
    
    [b]Compile Time Output:[/b]
    [code:97pd63ka]1>Deploying to Phone Internal Storage...
    1>Updating the layout...
    1>Checking whether required frameworks are installed...
    1>Warning : DEP0810 : This app references Microsoft.Phone.WinJS.2.1, version 1.0.9651.0, found in your SDK, but you have a higher version of Microsoft.Phone.WinJS.2.1 installed on the target machine, 1.0.9651.40228. If you continue to run this application, it will run against the currently installed version, Microsoft.Phone.WinJS.2.1, version 1.0.9651.40228. Consider updating your SDK to match the version of Microsoft.Phone.WinJS.2.1 that is installed. http://go.microsoft.com/fwlink/?LinkId=260891
    1>Registering the application to run from layout...
    1>Deployment complete (5002ms). Full package name: "7A8E6C0D-2726-425B-8B57-F25717BEDDD1_1.0.0.0_neutral__z470sj18dr3cj"
    ========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========[/code:97pd63ka]
    [b]Warning:[/b]
    [b]Warning : DEP0810 : This app references Microsoft.Phone.WinJS.2.1, version 1.0.9651.0, found in your SDK, but you have a higher version of Microsoft.Phone.WinJS.2.1 installed on the target machine, 1.0.9651.40228. If you continue to run this application, it will run against the currently installed version, Microsoft.Phone.WinJS.2.1, version 1.0.9651.40228. Consider updating your SDK to match the version of Microsoft.Phone.WinJS.2.1 that is installed. [url=http://go.microsoft.com/fwlink/?LinkId=260891]http://go.microsoft.com/fwlink/?LinkId=260891[/url]
    [/b]
    
    [b]Problems Displays on Emulator: 
    ##############################[/b]
    1) The project compilation works fine on emulator , sound works fine , game play crash in the middle. Without any reason in star of few seconds it started get slow and then close by it self.,Windows phone power tool has been used to track down the ram and here is the result came. in Attached image..
    
    [url]
    [url=https://dl.dropboxusercontent.com/u/104183650/windows%20app%20error.png]https://dl.dropboxusercontent.com/u/104 ... 0error.png[/url]
    [img="https://dl.dropboxusercontent.com/u/104183650/windows%20app%20error.png"][/url]
    
    [b]Resolution:[/b] none
    
    [b]Problem Displays on Real Device: 
    ################################[/b]
    1) The real device sometimes close it self in the middle of loading and sometime in middle of the game by getting slower within few seconds of game start. Its problem is same like the emulator.
    
    [b]Click to see Full:[/b] [url]https://dl.dropboxusercontent.com/u/104183650/realdevice%20error.png[/url]
    [img="https://dl.dropboxusercontent.com/u/104183650/realdevice%20error.png"]
    
    [b]Debug on VS showed following:[/b]
    [code:97pd63ka]HTML1701: Unable to add dynamic content '<select msallowclip=''><option selected=''></option></select>'. A script attempted to inject dynamic content, or elements previously modified dynamically, that might be unsafe. For example, using the innerHTML property to add script or malformed HTML will generate this exception. Use the toStaticHTML method to filter dynamic content, or explicitly create elements and attributes with a method such as createElement.  For more information, see http://go.microsoft.com/fwlink/?LinkID=247104.[/code:97pd63ka]
    
    and after it close by itself it gives below message
    
    [code:97pd63ka]'WWAHOST.EXE' (Script): Loaded 'Script Code (MSAppHost/2.0)'. 
    The program '[3016] WWAHOST.EXE' has exited with code -267390961 (0xf00ff00f).[/code:97pd63ka]
    
    On Development Machine Browser: 
    IE 11: Works fine
    Chrome: Works fine
    Firefox: Works fine
    
    Now the problem is i have purchase the license in thought of i might able to produce application for famous three platform but for windows its seems unsupported. Does anyone have the solution why this is not working? What shall i do? Shall i move my whole half year of work on any other game engine just to produce windows app separately ?  I am very disappointed by the response previously over windows  app ... 
    
    spent  2 full days in testing and still i am helpless , any tip , guidance and help ????
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • In short :

    -----------------------

    8.0 exported version works fine and smoothly but without voice on real device but works fine on emulator

    8.1+ universal version crash everytime on emulator and on real device both , though the sounds were coming fine but game works very bad non-smoothly

    I find quite funny you found some magic formula to NOT crash also the 8.0 version.

    On a more serious note, Windows Phone HTML5 support is bugged as hell.

    I'd not pay a lot of attention to your emulator issues, I found WP8/8.1 hyper-v based emulators bugged and inconsistent even with simple scratch projects made inside visual studio, so I think there's no point in using them to test a full game made on an external framework.

    On your devices you're probably running through the webaudio bug and this explain why your mute version is able to run without crashes while the 8.1 exits after some seconds.

    Basically WebAudio in WP8/WP8.1 is broken. Actually A LOT broken. Some people solved this inside C2 being careful to play only one sound at time (and, sorry, one sound means no bg music), some others has gone the hard way coding an alternative audio engine in C# and calling fuctions from the browser object "execute javascript" action.

    There's just one way to test if you're running into this issue. Crete a test version of your project without audio and test it. If it doesn't crash, then you've found the culprit.

    About the smoothness: despite the official recommendations i found W8.1/IE11 webview terrible in terms of performance when WebGL is turned on. Switching back to Canvas2D (the renderer used in WP8, which you found smoother) should be a solution.

    (My personal suggestion: wait for Windows 10 and the spartan webview)

  • >

    > In short :

    > -----------------------

    > 8.0 exported version works fine and smoothly but without voice on real device but works fine on emulator

    > 8.1+ universal version crash everytime on emulator and on real device both , though the sounds were coming fine but game works very bad non-smoothly

    >

    >

    I find quite funny you found some magic formula to NOT crash also the 8.0 version. <img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked">

    On a more serious note, Windows Phone HTML5 support is bugged as hell.

    I'd not pay a lot of attention to your emulator issues, I found WP8/8.1 hyper-v based emulators bugged and inconsistent even with simple scratch projects made inside visual studio, so I think there's no point in using them to test a full game made on an external framework.

    On your devices you're probably running through the webaudio bug and this explain why your mute version is able to run without crashes while the 8.1 exits after some seconds.

    Basically WebAudio in WP8/WP8.1 is broken. Actually A LOT broken. Some people solved this inside C2 being careful to play only one sound at time (and, sorry, one sound means no bg music), some others has gone the hard way coding an alternative audio engine in C# and calling fuctions from the browser object "execute javascript" action.

    There's just one way to test if you're running into this issue. Crete a test version of your project without audio and test it. If it doesn't crash, then you've found the culprit.

    About the smoothness: despite the official recommendations i found W8.1/IE11 webview terrible in terms of performance when WebGL is turned on. Switching back to Canvas2D (the renderer used in WP8, which you found smoother) should be a solution.

    (My personal suggestion: wait for Windows 10 and the spartan webview)

    Based on your suggestion i have done several tests on exported version of universal 8.1+ apps from construct2

    • including sounds ,
    • without sounds by excluding all sound files,
    • disabled sounds
    • with 1 page layout and no sound ,
    • with no webgl

    Whatever i will do 8.1+ app crashes on my device. So it seems like not even a sound /audio bug but more than that.

    All had failed ,

    Also i have followed your comments and tested from scratch .So i thought what if i should download microsoft's JS based apps samples from their website

    https://code.msdn.microsoft.com/windowsapps/Universal-Windows-app-cb3248c3

    I have tried their own apps in JS, I have tested by creating my own JS based apps in VS , then i tried C# and C++ based apps created by myself here is the result in detail

    Universal 8.1+ App:

    Tested With Microsoft's Windows Phone Universal Samples:

    now what i did i have import a sample project from microsoft made in universal format "Controls_AppBar" ,

    Deploying and Executing Through VS 2013 IDE(press ctrl + F5):

    -------------------------------------------

    After compilations it keeps giving me this error

    Unable to Activate Windows Store App whenever i press ctrl + F5 to mobile device

    https://dl.dropboxusercontent.com/u/104183650/jssampleerror.png

    To solve this I found some tips from : http://stackoverflow.com/questions/1340 ... -store-app

    I have tried to delete the output folders but it worked one time rest did not work at all for me. It is keep crashing for some reason, for a second i felt like maybe my mobile is 8.0 not 8.1. But if this is true then why my mobile phone os displays OS version 8.10 etc. So story still goes on below...

    Executing directly from windows phone after it was deployed:

    -------------------------------------------------------------------------

    I have tried again to run that app through the mobile, then it silently crashes right after the demo screen. So i do not see any error on VS screen regarding unable to activate window store app. So hence it seems like this is the same error i have been watching but now its is working silently.

    Debug through Visual Studio:

    ----------------------------

    I had debugged the application from IDE to device then i saw this error as below.

    JavaScript critical error in (unknown source location)\n\nSCRIPT7: Out of memory

    To further narrowing down this issue i have tested using different criteria as below

    Construct2 exported into Universal 8.1 app and Found : Failed (Silently)

    Construct2 exported without any sound and Found: Failed (Silently)

    Construct2 exported without any sound , without webGL , without preload voice and Found: Failed (Silently)

    Used Microsoft Sample JS based App "Controls_AppBar" and Found: Failed (with error on IDE)

    Used Microsoft Sample JS based App another app and Found: Failed (with error on IDE)

    Created self new APP project with JS store app and Found: Fail (Same as above issue)

    Created self new APP project with C# store app and Found: Passed( Worked flawless)

    Created self new APP project with C++ store app and Found: Passed (Worked flawless)

    Hence it is proved that WinJS seems very buggy and its not reliable for some reason and not sure why it is crashing apps which are made by JS. But after all these tested it is also proved that universal 8.1+ apps works fine if they are made with other languages than JS. Also my mobile phone is up to date and it has no issue which i was wondering in start.

    I have seriously doubt on this warning which comes on each project of JS whenever i compile them

    Warning : DEP0810 : This app references Microsoft.Phone.WinJS.2.1, version 1.0.9651.0, found in your SDK, but you have a higher version of Microsoft.Phone.WinJS.2.1 installed on the target machine, 1.0.9651.40228. If you continue to run this application, it will run against the currently installed version, Microsoft.Phone.WinJS.2.1, version 1.0.9651.40228. Consider updating your SDK to match the version of Microsoft.Phone.WinJS.2.1 that is installed. http://go.microsoft.com/fwlink/?LinkId=260891[/code:3tsrclb9] Does it has anything to do with current crashing? I could not found any correct answer yet. Nor i have any idea how to change the version from 1.0.9651.0 to 1.0.9651.40228.
    
    These whole tested scenarios might help other developers as well if we able to find concrete solution...
    
    I am still looking for a solution , any help guidance would be appreciated. I request all the community members who have experience in windows app please join this thread to help others and help me as well.
    
    Again 
    
    [b]In short : [/b]
    -----------------------
    8.0 exported version works fine and smoothly BUT has NO voice on real device ( but works fine on emulator)
    8.1+ universal version crash everytime on emulator and on real device both , though the sounds were coming fine but game works very bad non-smoothly. It gives Unable to Activate Windows Store App error on pc if i execute the app through VS (before it get crash) otherwise it silently crashes .
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)