Skip to content

Cannot create InstanceGroupMesh #1

@Strikeeaglechase

Description

@Strikeeaglechase

Attempting to instantiate InstanceGroupMesh results in the following error:

THREE.InstancedGroupMesh.esm.js?916d:36 Uncaught (in promise) TypeError: Class constructor Mesh cannot be invoked without 'new'
    at new InstancedGroupMesh (THREE.InstancedGroupMesh.esm.js?916d:36:1)
    at MeshLoader._callee2$ (meshLoader.ts?aa39:194:1)
    at tryCatch (runtime.js?c56e:63:1)
    at Generator.invoke [as _invoke] (runtime.js?c56e:294:1)
    at Generator.eval [as next] (runtime.js?c56e:119:1)
    at asyncGeneratorStep (asyncToGenerator.js?4c68:3:1)
    at _next (asyncToGenerator.js?4c68:25:1)

This is with THREEJs 0.136.0 and three-instanced-group-mesh 1.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions