Fatal error when trying to run a HTML5 build

  • #1, z matej-zapuekWednesday, 01. June 2022, 11:33 hodinky 2 years ago
    Hi!

    I have created the project as HTML5 version game (Build game - HTML5 option). But when I try to run it (when I open the index.html file), it only shows the error window: FATAL ERROR, undefined, undefined:undefined. I have tried it with two completely different projects and get the same error. I have opened ti with different web browsers but it is still the same.

    When I build it as a windows game it works perfectly. 

    Has anyone had similar problems? Any idea what can be wrong?

    Bažant

    1 Posts


  • #2, z SimonSWednesday, 01. June 2022, 12:27 hodinky 2 years ago
    Hi, it cannot be run via opening the index.html, you need to use a server. 

    Kapitán

    1582 Posts