Skip to content

Can't preload a scene in autoload if that scene uses the autoload #68211

@KoBeWi

Description

@KoBeWi

Godot version

4.0 beta4

System information

Windows 10 x64

Issue description

When you have an Autoload and do preload("scene.tscn"), it will fail at runtime if that scene refers to Autoload in a script. This wasn't happening in beta3.

Steps to reproduce

Just run MRP

Minimal reproduction project

PreloadBug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions