Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error printed to console when creating peer connection object #168

Open
BenLubar opened this issue Jan 25, 2025 · 0 comments
Open

Error printed to console when creating peer connection object #168

BenLubar opened this issue Jan 25, 2025 · 0 comments

Comments

@BenLubar
Copy link

Godot version

4.4.beta1.official.d33da79d3

Plugin version

v1.0.8 and tested with the latest CI build (13a9342)

System information

Godot v4.4.beta1 - Debian GNU/Linux trixie/sid trixie on Wayland - X11 display driver, Multi-window, 1 monitor - OpenGL 3 (Compatibility) - Mesa Intel(R) Graphics (RPL-P) - 13th Gen Intel(R) Core(TM) i7-1360P (16 threads)

Issue description

When creating a peer connection, the following error is printed to the console:

ERROR: Condition "_instance_bindings != nullptr && _instance_bindings[0].binding != nullptr" is true.
   at: set_instance_binding (core/object/object.cpp:1985)

My code creates it by calling Ref<WebRTCPeerConnection>::instantiate(), but there's nothing special about it being C++ (nothing before that in my code talks to this extension).

Code is here in case it turns out I'm wrong and it actually is relevant: https://github.com/BenLubar/godot4-spy-cards-online/blob/5566ce94abca194587ad262a1ae637c30c0d15ba/src/protocol/matchmaking_connection.cpp#L89

The peer connection does seem to work despite this error message.

Steps to reproduce

var foo := WebRTCPeerConnection.new()

Minimal reproduction project

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant