Pathfind.js error when exported to Windows

0 favourites
  • 4 posts
From the Asset Store
Use this game pack to create your own game, modify the existing game or simply take a look and see how it was made.
  • Link to .capx file (required!):

    The entire project created with the export can be found at:

    Steps to reproduce:

    1. Create a new project using the standard turret defense template.

    2. Do not add any new elements.

    3. Export to Windows 8.

    4. Open the solution in Visual Studio.

    5. Compile and check everything looks in order.

    6. Associate the project with a created app in the store (right click in project, store, Associate App with the Store...)

    7. Create the packages (right click in project, store, Create the App Packages...)

    8. The certification will start, and after a few minutes will fail.

    Observed result:

    The file ValidationResult.htm will detailed the 2 errors found (a copy of my result can be found at:

    Overall result: FAILED

    ?File \\?\C:\Program Files\WindowsApps\1111hielo777.SGDefense_1.0.1.2_neutral__fqa2jx7pdgyn4\pathfind.js has JavaScript syntax or other problems.

    ?File C:\Program Files\WindowsApps\1111hielo777.SGDefense_1.0.1.2_neutral__fqa2jx7pdgyn4\pathfind.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).

    Expected result:

    Certification passed and packages created.

    Browsers affected:

    Chrome: no

    Firefox: no

    Internet Explorer: no

    The error appears only in the W8 export when is being certificated.

    Operating system & service pack:

    Tested in Windows 8 and Windows 8.1

    Construct 2 version: r132

    Additional Notes:

    The entire Visual Studio solution created can be found at:

    The problem appeared originally with another project that was based on the Turret Defense template. The same 2 errors appeared in that project, but it seems that the export of the same .capx to Windows Phone was accepted by the WP Store.

    I tried to manually re save the file with the correct encoding, and also manually fix the .js, but it was still not working.

    Please contact me at if you need more information or help.

  • Someone else had Pathfinder issues last month, here is the thread with a link to a tutorial that showed re-encoding with V.S.

    I used that tutorial to re-encode Clay's plugins, and it worked.

    Edit: Later in that thread, someone mentioned it had been fixed, so maybe it is fixed already in the beta.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah, I noticed the file is accidentally in ANSI encoding. I've converted it to UTF-8 with BOM for the next build which hopefully will fix this.

  • Thank you very much guys, I will try the steps in the provided thread and will let you know if it Works.

    Oh! and just in case you don{t receive enough love from the community: great tool and great job reaching gamers. I will be presenting a workshop in the Atlanta area, requested by the Georgia Game Developers Association, so the interest is there and it will keep growing <img src="smileys/smiley1.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)