I've exported a sample of my game to HTML5 and I'm noticing an issue with my character model. At certain angles, my character model becomes invisible entirely with no debug logs or errors. This doesn't seem to be a camera distance issue as the invisible bug doesn't trigger when I move the camera closer to the character model.

The model works fine when testing the scene in debug mode, and also works fine when exported to HTML5 and served locally. However, the bug shows up when I deploy it to my server.

  • My local machine is an Apple Silicone Macbook, so it's running macOS
  • My server is running Ubuntu, and it's using Docker to serve the web client.

I'm not sure what the cause of this may be, but I'm hoping someone with a similar experience could point me in the right direction.

I've attached previews to better explain what I mean.

Which version of Godot? What are the relevant rendering settings?