I have had this happen with two scenes by now. These scenes consist of a large tilemap with multiple layers, a player and thats it. The scenes inherit from a LevelBase class I wrote, but that is so simple. that it can’t be the problem. LevelBase just has a open_pause_menu() function and nothing else. Does anyone know why this might be happening?

EDIT: Forgot to translate the message. It says “scene file ‘office.tscn’ seems to be invalid or faulty.”

  • bbuez@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    As Zarr mentioned, this seems like a cyclical dependency, I got around this issue in my project by avoiding the use of preload, specifically in scripts that would attach to an object I would also then have instanced by that script. load() seems to avoid the problem