Skip to content

Class_Type does not work when exporting #100

@I-Have-No-Idea-What-IAmDoing

Description

I am currently using this plugin to load in custom classes by class name and it does work but whenever i try to export my game, it does not work and errors. I tried asking on the godot discord and they said that

You (or the plugin developer) are trying to use EditorPlugin class, a class that belong to the editor only and doesn't works in game

SCRIPT ERROR: Parse Error: The identifier "EditorPlugin" isn't a valid type (not a script or class), or couldn't be found on base "self".
          at: GDScript::load_byte_code (res://addons/godot-next/references/class_type.gdc:726)

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