Open iffn opened 2 months ago
I've tracked down the issue to the introduction of the OnAvatarEyeHeightChanged event in ClientSim 3.6.0. The initial invocation of the event passes prevEyeHeightAsMeters as an integer, when it should be a float. Since the values are boxed there was no indication of type mismatches and was probably overlooked since I guess not a lot of people use this event.
Here's the line in question: https://github.com/vrchat-community/ClientSim/blob/43e43b046fa2aff9b31d64698fc0868df43b44eb/Packages/com.vrchat.ClientSim/Runtime/System/ClientSimPlayerHeightManager.cs#L48
I don't think it's worth addressing this on my end by checking the type for a temporary solution, but I have gone ahead and created a PR fixing the issue, and I'll close this issue once it has been resolved: https://github.com/vrchat-community/ClientSim/pull/119
I forgot to mention it, but I ended up making a Canny as well: https://feedback.vrchat.com/udon/p/initial-clientsim-onavatareyeheightchanged-causes-type-mismatch
Enabling the Scale Movment checkbox causes the NUMovement controller to break in the editor when testing.
Error message:
Pointing to this line: https://github.com/Nestorboy/NUMovement/blob/01549e29e1a123f3b5668334b899f8d02456b163/Packages/com.nessie.udon.movement/Runtime/Scripts/NUMovement.cs#L230
Tested in a fresh project with the current version:
Screenshot:![image](https://github.com/Nestorboy/NUMovement/assets/18383974/7729d5b7-6cd2-4d03-b742-ad2cfa03c26a)