Skip to content

Draco loading fails in Node #8524

@LeXXik

Description

@LeXXik

When running the app in Node, fetching a draco glb fails.

This line forces at least 1 worker to be created, which fails in Node environment.

const numWorkers = Math.max(1, Math.min(16, config.numWorkers || defaultNumWorkers));

One option is if we create a null graphics device, we also shim a worker using node threads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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