Initial ClientSim OnAvatarEyeHeightChanged causes type mismatch
complete
Nestorboy
Using ClientSim, when a player joins, OnAvatarEyeHeightChanged is invoked with the prevEyeHeightAsMeters parameter passed as the literal integer 0, causing a type mismatch since it is expected to be a float.
Repro:
- Create an Udon Program that uses the OnAvatarEyeHeightChanged event.
- Use the prevEyeHeightAsMeters for any type-specific externs, like addition.
- Test the world using ClientSim and you will get an exception.
This bug was introduced in 3.6.0 and I have gone ahead and created a simple PR addressing it:
Log In
Momo the Monster
marked this post as
complete
It looks like this was fixed in SDK 3.7.5!
This post was marked as
available in future release
Fax
marked this post as
tracked