Skip to content

The master branch is incompatible with 4.1 #1195

@DmitriySalnikov

Description

@DmitriySalnikov

Godot version

4.1.1.stable

godot-cpp version

master c5d8447

System information

Windows 10

Issue description

I tried to update godot-cpp to the latest version, but I got a bunch of errors on startup:

ERROR: Attempt to get non-existent interface function: classdb_register_extension_class_property_indexed
   at: (core/extension/gdextension.cpp:448)
ERROR: Unable to load GDExtension interface function classdb_register_extension_class_property_indexed()
   at: (src\godot.cpp:364)
ERROR: GDExtension initialization function 'debug_draw_3d_library_init' returned an error.
   at: open_library (core/extension/gdextension.cpp:476)
ERROR: Failed loading resource: res://addons/debug_draw_3d/debug_draw_3d.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:273)
ERROR: Error loading extension: res://addons/debug_draw_3d/debug_draw_3d.gdextension
   at: (core/extension/gdextension_manager.cpp:143)
Godot Engine v4.1.1.stable.official.bd6af8e0e - https://godotengine.org

It seemed to me that adding a compatibility system should have added the ability to run on different versions of Godot, and not just on the latest one.
Then why do we need this line?

compatibility_minimum = "4.1"

Steps to reproduce

  • Use the godot-cpp library from the master branch in Godot 4.1

Minimal reproduction project

N/A

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