I’m doing my first project in Phaser 3 (3.22.0) and am running into a strange issue in browsers other than Firefox (so far Chrome and Safari).
Occasionally, when I reload the page, either when running on a local server or on a web server, the game loads as a blank, black screen. Even after allowing the page to load for minutes, the screen remains black. There are no errors in the console, and I’m not able to reproduce the problem consistently. Sometimes, refreshing from the black screen loads the game normally, and sometimes it reloads into the black screen.
I’m guessing that this has something to do with the browser cache, as I’ve never had this issue when loading in a new browser for the first time or immediately after clearing the cache. However, I’m not sure of this. Is there a way to force the browser not to pull from cache? Why would this not be happening in Firefox?
It may or may not be relevant to know that the project includes a number of videos (total around 150MB).
Please let me know if you have any insight into what might be going wrong here, or if I can provide additional information about my situation that would be helpful. Thanks in advance for your help!