Igor
October 25, 2021, 3:17pm
#1
Hello guys!
We’ve found an issue with cloning/instantiating templates that contain anim component. Animations don’t work at all on cloned (as well as instantiated from template) entities.
Here’s the demo project link: Test Models and Animation - PLAYCANVAS
Here’s the project itself: PlayCanvas 3D HTML5 Game Engine
Note: the bug appears only when launching a published project (e.g. Test Models and Animation - PLAYCANVAS )
Debug builds (that are launched from the editor, like https://launch.playcanvas.com/1258177?debug=true ) work well in the same project.
P.S. I think it may be related to this (already closed though) issue with rootBone property https://github.com/playcanvas/engine/issues/3426
1 Like
yaustar
October 25, 2021, 3:55pm
#2
That’s odd that it works fine in the launch tab but not a published build
It works fine in my Bitmoji Library project published build but I don’t have a Root Bone set which may be the key difference. Will investigate further
1 Like
yaustar
October 25, 2021, 5:05pm
#3
1 Like
I think this is also the case when cloning entities with animated sprite components.
I’ll try to reproduce and share an example later today
yaustar
October 25, 2021, 5:34pm
#5
If you do find an issue with Animated Sprites, can you open a new ticket please as it is unlikely to be related
yaustar
October 25, 2021, 5:56pm
#6
@Igor I’ve got a PR that should fix this. Awaiting review: https://github.com/playcanvas/engine/pull/3619
2 Likes
Igor
October 25, 2021, 6:58pm
#7
That’s great, thank you guys @yaustar @will @Elliott for quick reaction!
When do you plan to release the next build that includes this fix?
yaustar
October 25, 2021, 7:10pm
#8
We are shorthanded this week so it’s likely to be next week for and Editor engine update.
A engine patch release for 1.48.X may be earlier though.