Some skins cause game to endlessly reload player entity, causing lag
Partner Rank:
2
Partner Team Reporting:
Everbloom Games
Verification builds:
1.19.60.26
Summary:
Some skins cause game to endlessly reload the client player entity every frame. Doesn't occur when showing some menu in front, like the pause screen or chat.
Impact:
This causes several things:
- Massive lag: In one of our upcoming maps, which makes a lot of changes to the player entity, it brings my framerate from 100-200 to around 20.
- Restarts all animations, removes all animations playing via /playanimation.
This makes any map that does anything to the client player entity not function correctly, sometimes even virtually unplayable. The latter is definitely the case for upcoming licensed IP content.
Some skins seem to be stable, such as skins from marketplace. Persona and classic custom skins may vary.
Repro Steps:
- (These repro steps require a Release build to make use of the Animation Editor ImGUI window)
- Open a world. Any world.
- Open the Animation Editor.
- Look at the Animation Editor. You must not have any other screens (such as chat or the pause menu) showing on top of the game screen.
- Cycle through various skins and repeat step 4.
Observed Results:
On the affected skins, the animation editor will flash wildly, with nodes appearing, disappearing, and appearing elsewhere. This indicates that the client player entity and their animations are being reconstructed every frame. This also causes framerate lag.
Expected Results:
The animation editor should be stable on every skin, and specific skins shouldn't lag the game.
Regression Build:
Last worked in 1.19.60.25
Screenshots / Videos Attached:
Yes. Note that in the video, I started with a persona skin, which was stable, but switching to another one and back to the original made it exhibit the bug. Not sure if it's caused by the specific skin, switching skins, or some combination of both.
Also in the video, my custom classic skin was showing as Steve. Unsure if that's related.