Skip to content

Saving custom resources using the ResourceSaver.FLAG_BUNDLE_RESOURCES flag causes crash on load.  #65393

@DaGamingWolf

Description

@DaGamingWolf

Godot version

4.0 dev (106b680) 4.0 dev (432b25d)

System information

windows 10

Issue description

it appears loading a custom resource using ResourceLoader.load() on a file saved with the ResourceSaver.FLAG_BUNDLE_RESOURCES can result in a failure to load the file and an error "<custom_class> hides a global script class."

Steps to reproduce

create a custom Resource, save it with the ResourceSaver.FLAG_BUNDLE_RESOURCES flag, then use ResourceSaver.load()

Minimal reproduction project

Minimal reproducable project.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Up for grabs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions