viromedia / virocore

ViroCore cross-platform AR/VR renderer
MIT License
364 stars 108 forks source link

Animation inside GLB won't loop: it crashes #338

Open federico-camonapp opened 4 years ago

federico-camonapp commented 4 years ago

Environment

Please provide the following information about your environment:

  1. OS: Mac
  2. Version: 2.17
  3. Device(s): Samsung Galaxy S8

Description

When configuring a GLB to loop its internal animation. after a few loops (3 or 4), the app crashes. Same happens if instead of doing a setLoop(true) we use setListener and chain the animations. (We've tried with CesiumMan)

Reproducible Demo

Object3D object = ...;
Animation animation = object.getAnimation("animation_0");
animation.setLoop(true);
animation.play();