Skip to content

Undefined access when anim component with multiple layers is cloned #6395

Description

@LeXXik

Application crashes, when trying to clone an entity with an Anim Component that has more than 1 animation layer.

Repro:
Open engine example: https://playcanvas.github.io/#/animation/layer-masks
And add to the end:

modelEntity.clone();

image

image

Metadata

Metadata

Assignees

Labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions