Skip to content

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

@Nestorboy Nestorboy changed the title Fixed type mismatch during inital OnAvatarEyeHeightChanged call Fix type mismatch during inital OnAvatarEyeHeightChanged call Nov 1, 2024
@momo-the-monster momo-the-monster merged commit 835a346 into vrchat-community:main Jan 14, 2025
@momo-the-monster
Copy link
Collaborator

Merging in since we haven't synced the upstream fix to this repo yet.
Thanks for your contribution!

@github-actions github-actions bot locked and limited conversation to collaborators Jan 14, 2025
@Nestorboy Nestorboy deleted the height-changed-type-fix branch May 30, 2025 20:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants