• Godot HelpHTML5
  • "Blocking on the main thread is very dangerous" message in web browser console

Hi,

Maybe this is expected with any Godot HTML5 project, I wasn't able to confirm it after searching for a while. I have a fairly simple project using Godot 4.1 and when running it on a web browser on localhost I see the errors below. I am not using multi-threaded rendering (I don't even know if it is supported for HTML5). I run it in localhost using the python script that the official documentation provides. Is there a way of getting rid of those errors?


  • There is an issue already related to this: #65702, #67402 also contains a comment with the error.

    This error does not appear in the Godot own code, so as the first one outline, this comes from a third party library used, so there is a very huge probability you can't do anything about it, check the comments on the first issue, you may eventually try another version of the library which create the issue (if it's actually one and not an harmless warning) and/or report an issue to this library repository if there is not already one or more.

There is an issue already related to this: #65702, #67402 also contains a comment with the error.

This error does not appear in the Godot own code, so as the first one outline, this comes from a third party library used, so there is a very huge probability you can't do anything about it, check the comments on the first issue, you may eventually try another version of the library which create the issue (if it's actually one and not an harmless warning) and/or report an issue to this library repository if there is not already one or more.