Skip to content

RFC §unification: default Camera at root-only instantiation #564

@apotema

Description

@apotema

Part of #560.

Engine inserts a default Camera entity if the root-instantiated prefab tree contains no Camera component anywhere.

Rules:

  • Only at root instantiation — the prefab loaded as a top-level via the state-binding entry point.
  • Nested prefabs do not get a default camera. This prevents "two cameras when I nest a scene inside a scene."
  • Explicit override stays available via a Camera component on the root entity (or anywhere in the tree).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions