Skip to content

Error when switching branch #337

Open

Description

@notroid5

Godot version

4.6.3

Godot Git Plugin version

3.3.0

System information

Linux

Issue description

Error when switching branch:

ERROR: core/object/message_queue.cpp:222 - Error calling deferred method: 'EditorNode::EditorNode::_set_main_scene_state': Cannot convert argument 2 from Object to Object.

Steps to reproduce

  • switch branch

Update:

Error when switching to a new branch after the first push:

  ERROR: core/variant/variant_utility.cpp:1024 - GitPlugin: Could not checkout branch tree. Error -13: 1 conflict prevents checkout in godot-git-plugin/src/git_plugin.cpp:_checkout_branch#L561
  ERROR: core/object/message_queue.cpp:222 - Error calling deferred method: 'EditorNode::EditorNode::_set_main_scene_state': Cannot convert argument 2 from Object to Object.

Also after reloading the project, I can't switch to the new branch any more! :(

Activity

  1. Calinou commented on Nov 2, 2026

    @Calinou
    Member

    Error -13: 1 conflict prevents checkout in godot-git-plugin/src/git_plugin.cpp:_checkout_branch#L561

    Can you post the output of git status when run in a terminal in the project folder?

  2. notroid5 commented on Nov 12, 2026

    @notroid5
    Author

    Sorry, I've deleted the branch since then and can't reproduce it on another one right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions