Web builds (using the new wasm player) stop receiving input after a few minutes

  • #1, by fulviovMonday, 27. May, 11:14 A month ago
    Hi,
    I have been trying to compile my builds for the web in order to facilitate distribution to my beta testers, but I noticed that the player stop receiving mouse inputs after a few minutes.
    Is anyone else experiencing this?

    Cheers!

    Forum Fan

    119 Posts


  • #2, by AFRLmeMonday, 27. May, 15:04 A month ago
    Is it possible that a memory leak is causing it? Run task manager or some other app for monitoring the ram useage of the browser you are running the game on & keep an eye on what happens while the game is running.

    Is it happening on all browsers? Just a specific browser? What's the default resolution of your game? Are you using png files or webp files for images & animations?

    Quick note: I'm not very savvy on web based games, but the questions I've asked will probably help out someone that is more savvy on the subject matter.

    Imperator

    6550 Posts

  • #3, by NigecMonday, 27. May, 15:40 A month ago
    It might depend what version of vs you are using, the current version was a massive improvement compared to the earlier ones

    I've only done small tests so I've not seen your problem but others have reported a slow down, saying that, it was a few versions back, like AFRLme  said check the resource monitor and see if the memory keeps getting higher

    Ironically MS Edge and Chrome work the best for me, FF is pants for some reason

    Great Poster

    478 Posts

  • #4, by AFRLmeMonday, 27. May, 16:43 A month ago
    Ironically MS Edge and Chrome work the best for me, FF is pants for some reason
    Probably because firefox uses a lot of ram to run compared to other web browsers. I don't know about recent versions - they were supposed to have overhauled it last year or earlier this year to make it less system resource intensive, but I haven't checked it. It used to use about 300-400mb of ram with nothing but the landing/home page open.


    * edit: checked. current version of firefox with just the default page open. chrome (not sure which version as I rarely use it) with the default page open. firefox is using around 400-500mb of ram, chrome is using about 100-200mb of ram. You probably also need to take into account that other processes are also using your system resources when playing browser based games compared to desktop games run in fullscreen mode.

    question: are you using the preload animation system in VS? if you are, are you manually unloading animations when they are no longer needed?

    Imperator

    6550 Posts

  • #5, by fulviovSunday, 16. June, 03:49 A week ago
    hi, I think the problem might be actually related to this:



    Forum Fan

    119 Posts

Write post