"Already loaded texture" error after 2 replays of the game - HTML5

0 favourites
  • 1 posts
From the Asset Store
7 Errors
$15 USD
7 Errors is a game where you have to find the 7 mistakes before time runs out. Can you find all 7? Have fun looking.
  • Hello, I'm having an issue which I am pretty sure is a Construct bug but I can't share the project unfortunately as it is property of the company I work for, so I will try to post as many details as I can here in case you would like to take a look for a future Construct release.

    The game consists of 4 Layouts, the Intro Layout, the Select Difficulty Layout, the Game Layout and the Results Layout (which contains a Restart Button).

    The game works perfectly well for the first two times someone (re)plays it, meaning all 4 work layouts appear and work as expected. If you finish the game 2 times and press the Restart Button in the Results Layout which takes you to the Intro Layout everything is fine. You move on to the Select Difficulty Layout and choose one of the three difficulties. The moment you press the Start Button to move to the Game Layout the whole game just freezes and the Browser console throws an "Already loaded texture" error. Nothing happens after that.

    To help with debugging I will share the actions before moving to the Game Scene, right after we loaded in the Game Scene and the Game Layout itself.

    TLDR: I print a message right before going to the Game Layout and another message as the very first action of the Game Layout. In the 3rd run of the game the message "Entering Game Layout" appears followed by the error mentioned above. The expected behaviour is the console to show "Entered Game Layout" and the game continue as normal.

    Here are the screens:

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)