Skip to content

There should be some kind of error for spawning a scene handle without a SceneBundle. #13313

@mintlu8

Description

@mintlu8

What problem does this solve or what need does it fill?

This is very confusing because this "successes" in release mode and spawns the mesh in a broken state without transforms. On debug mode there are hierarchy errors regarding transform and visibility, but not present in release mode.

What solution would you like?

Log an explicit error for trying to spawn a scene without a Transform or Visibility component, even in release mode.

What alternative(s) have you considered?

Keep things as is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ScenesSerialized ECS data stored on the diskC-UsabilityA targeted quality-of-life change that makes Bevy easier to useS-Needs-DesignThis issue requires design work to think about how it would best be accomplished

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions