Skip to content

Debug SVG crashes app when shapes exist (useShapeCulling must be used within ShapeCullingProvider) #8100

@noreng

Description

@noreng

Description

Enabling Debug Mode + Debug SVG crashes/breaks the app when there is at least one shape on the canvas.

Console error:
useShapeCulling must be used within ShapeCullingProvider

Additional notes

  • Works fine when the canvas is empty (no shapes).
  • Once it happens, the state persists in a way that prevents recovery from within the app (requires restoring data).
  • Worked ~a week ago

Environment

  • The most recent version on tldraw.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions