Entity.applyTapForBehaviors() only works on Simulator, not device

I created a simple Timeline animation with only a "Play Audio" action in RCP. Also a Behaviors Component setting an "OnTap" trigger to fire this Timeline animation.

In my code, I simply run Entity.applyTapForBehaviors() when something happened. The audio can be normally played on the simulator but cannot be played on the device.

Any potential bug leads this behavior?

Env below:

  • Simulator Version: visionOS 2.0 (22N5286g)
  • XCode Version: Version 16.0 beta 4 (16A5211f)
  • Device Version: visionOS 2.0 beta (latest)
Answered by milanowth in 800712022

Turns out most of the issues could be solved by UPGRADING to the LATEST version of ANYTHING

Accepted Answer

Turns out most of the issues could be solved by UPGRADING to the LATEST version of ANYTHING

Entity.applyTapForBehaviors() only works on Simulator, not device
 
 
Q