I've encountered a perplexing issue in my 2D game project on StackBlitz. The game relies on media served by a NodeJS backend using ExpressJS, and I've noticed intermittent failures in media delivery. Occasionally, the server fails to serve the required media assets, causing disruptions in the game's functionality.
Version = 1.84.0
Hash = a5b1ce2088a8c48a3bfda4a131ef20e00b36d9eb
WebContainer = a2aabdd9
Browser name = Chrome
Full version = 120.0.0.0
Major version = 120
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
performance.memory = {
"totalJSHeapSize": 146496069,
"usedJSHeapSize": 95837765,
"jsHeapSizeLimit": 4294705152
}
Describe the bug
I've encountered a perplexing issue in my 2D game project on StackBlitz. The game relies on media served by a NodeJS backend using ExpressJS, and I've noticed intermittent failures in media delivery. Occasionally, the server fails to serve the required media assets, causing disruptions in the game's functionality.
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/iTSiolinux/MineResource?view=editor
Steps to reproduce
Open the Terminal:
Run Server:
node server/index.js
and press Enter to start the NodeJS server.Open Preview Tab:
Check for Image Loading Issues:
Open Developer Tools:
F12
or right-click and select "Inspect" to open the browser's developer tools.Navigate to "Network" Tab:
Check for Unsuccessful Requests:
Expected behavior
The media should load and then the oakTree should apper on top of the player
Parity with Local
Screenshots
No response
Platform
Additional context
it works sometimes (randomly)