0 Favourites

Windows 8 Metro Error

  • After exporting and loading into Visual Studio 11 Express Beta I get this error when trying to build:

    ---Popup window Error

    Unhandled exception at line 24, column 124 in ms-appx://00a2416c-0463-4ac7-9c39-7bc0681efbef-efcbce7rrtyba/c2runtime.js

    0x800a1391 - JavaScript runtime error: 'log' is undefined

    ------JavaSript Error

    Unhandled exception at line 24, column 124 in ms-appx://00a2416c-0463-4ac7-9c39-7bc0681efbef-efcbce7rrtyba/c2runtime.js

    0x800a1391 - JavaScript runtime error: 'log' is undefined

    File: c2runtime.js, line: 24 column: 124

    ---Highlighted Code

    log("Using Canvas 2D renderer")

    Any Ideas of what I'm doing wrong?

  • It's a known bug in the r81 beta release. See this thread for a workaround.

  • Hi,

    Sorry to resurrect this old thread but I was trying the Windows 8 exporter and, when trying to test via Visual Studio, I get this error:

    Unhandled exception at line 273, column 320 in ms-appx://bad454a7-aa9f-4176-abce-676120890ec4/c2runtime.js

    0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'Uo'

    <<

    which is referring to this line:

    new Windows.UI.Popups.MessageDialog("Note: this Windows 8 app is in Test Mode, designed for testing purchases. Before publishing, be sure to set Test Mode to 'No' in the Windows 8 object's properties.")).Uo();

    <<

    Any idea how to fix this? I think I followed all the steps in the "How to make a Windows 8 app" tutorial...

    BTW, I'm using C2 r114 and Visual Studio Express 2012.

    Thanks in advance for any help and happy new year!

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Bump...

    I get a similar error (though the method now is called nn instead of Uo...) when trying to build the sample Win 8 capx file.

    Am I the only one experiencing this kind of problem? Any idea? I can't make any Win 8 game if I don't find a solution for this...

    Recap: I'm using Win 8 64 bits, VS Express 2012 and C2 r114.

    Thanks for any help!!

  • roberto - disable minify on export should fix it, looks like a C2 bug. Should be fixed in next build.

  • Great, thanks! I'll try it as soon as I get back to my dev PC!

  • Yes, that was it: now it works! thanks again! <img src="smileys/smiley20.gif" border="0" align="middle" />

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