Skip to content

Module Initialization - Level Scene is running in-editor #1255

Closed
@nonunknown777

Description

@nonunknown777

Godot version

4.1 stable

godot-cpp version

4.1

System information

Linux

Issue description

When running the code with:

MODULE_INITIALIZATION_LEVEL_SCENE

the code runs in-editor, but that should only happens if the dev uses:

MODULE_INITIALIZATION_LEVEL_EDITOR

Steps to reproduce

  • Create GDExtension project
  • set initialization to: MODULE_INITIALIZATION_LEVEL_SCENE
  • open project
  • the code will be running in-editor

Minimal reproduction project

NA

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions