I’ve been trying to track an issue that spontaneously occurred in my game on the 23rd, even though I hadn’t updated the game to create such issues in a few weeks. To explain the issue further, all of my players arms and physics are acting weird. Sometimes the broken physics replicates only to the client, and sometimes it’s visible to the entirety of the server. I’ve been using the same animations since 2022, which normally don’t have this problem.
Streaming Enabled is set to Legacy and opportunistic.
It seems to be a 1/20 player chance, and is hard to replicate solo. Some players can join different servers and it seems to be tied to their device entirely.
I use this module:
Game:
It seems to be completely and utterly random with how players are handled.
It looks like the issue has progressed a bit further. I tried to make models persistent so that they could all be loaded, but it seems to break the avatar more.
Hi Tzui,
I’m taking a look at this issue. I suspect it is related to some new retargeting optimizations that recently went in. Can I get you to disable retargeting on the Workspace properties and see if that fixes the problem? If so, we’ll try to get a proper fix in asap.
Disabling retargeting has stopped the bug, at least from my ability to replicate the error without any other clients. I’ll let you know if it shows up again.
I appreciate it.
Though, unfortunately, I’m running into a new problem.
Animations are replicating fine, although arms are oddly wider. What does retargeting do? And is this a possible outcome?
If not, I’ll possibly have to dig through some more code, but I’ve been using the same animation system + animations since 2022.
Yes, retargeting tries to reposition the arms and legs to match the original authored pose. With it disabled you will see things like this where the arms aren’t at the right angle.
The idle animation was authored on a rig that was in the ‘i’ pose (arms straight down by the sides). It looks like this character was authored in the ‘a’ pose (arms out at a slight angle).
I may have another solution for you though. The retargeting bug you reported is very likely caused by an old version of the Realism code you linked above. I took a look at their git repo and any version before July 2023 will cause the bug. So, if you are able to update that library you should be able to reenable retargeting as well. The new code should run much faster as well.
For those interested, the bug is caused when code directly modifies joint C0 transforms at runtime. This is actually changing the rig of the character every frame not the pose. We advise not to do procedural animation in this way (it is very expensive), it is better to change the joint’s Transform property. There is a good example of how to do this in the Platformer template’s CharacterLeanScript. Happy to answer any questions on the subject
Yeahh it’s certainly a bit costly. I have it naturally disabled on my game so that way not all players are using it all of the time. I believe the 2023 version of Realism is what we have, but I’ll try and update it regardless or find a new method.
I decided to run a test with retargeting set back to default and Realism’s components disabled. It seems that the animation still presently has wider arms.