Mobile Haptic with a Negative Amplitude causes Java Exception
tracked
BobyStar
- Setup an Udon program to use Networking.LocalPlayer.PlayHapticEventInHandand provide it a negative amplitude.
- Build & Test or Publish the world for Android
- On an Android Flatscreen device launch the world.
- Activate the Udon program and notice the java illegal argument exception.
amplitude must either be DEFAULT_AMPLITUDE, or between 1 and 255 inclusive (amplitude=0)
Tested with the parameters:
Right
, 0.1
, 0
, 1
. Notably this does not cause an exception on Meta Quest native (Quest 2 on open-beta).This includes the value 0 as well as negative values which has been noted to be an issue in this world: https://vrchat.com/home/world/wrld_937e9703-1aff-4963-b3aa-84375c47796f
Log In
StormRel
updated the status to
tracked