Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed type mismatch during inital OnAvatarEyeHeightChanged call #119

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Nestorboy
Copy link
Member

@Nestorboy Nestorboy commented Jun 16, 2024

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.

The issue was brought to my attention by another user using one of my prefabs:
Nestorboy/NUMovement#3

@Nestorboy
Copy link
Member Author

Nestorboy commented Jul 6, 2024

I ended up creating a Canny post at the same time but forgot to link it here:
https://feedback.vrchat.com/udon/p/initial-clientsim-onavatareyeheightchanged-causes-type-mismatch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant