Unexpected WebRTC Extension Import Error Message

Godot Version

4.3.0 Stable

Question

I am creating a small 1v1 networked game. I am creating it primarily for web, but I also want to be able to create working Windows builds. This is the first time I am building a networked game, so I am not that familiar with WebRTC or Websockets.
When I create a web export for the game, I expect WebRTC to work out-of-the-box, without any need for extensions (since it states as such in the documentation). I do have the WebRTC extension in my project in case I want to export to another platform. However, when I start my exported project, I get the following error messages:

Can anybody explain what is going on and how I can prevent this error from showing up?

I already tried to exclude the webrtc folder in my Web export settings. With and without this exclusion the error occurs.

Hey there, noticed you opened this topic a long time ago. If you still need help, would you mind sharing what extension you used? (Preferably a github link)

I used this extension: https://github.com/godotengine/webrtc-native
However, the error was completely my mistake: I forgot to exclude the extension in my HTML exports.

So for anyone reading this in the future: If you use WebRTC in your multiplayer game (or networked program) in Godot, and you are exporting your project, and the export is not an HTML/Web export, exclude the extension in the export settings!
Doing that prevents this error message in the console.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.