Skip to content

Error printed to console when creating peer connection object #168

Open
@BenLubar

Description

@BenLubar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions