Mojira Archive
MCM-1393

Animations restart when render controllers toggle

Partner Rank:
2

Verification builds:
1.17.30.25

Summary:
Animations restart when a render controller's MoLang condition expression changes from true to false or vice versa.

Impact:
Affects almost every single one of our map in the past 2 years, causing music to restart and overlap every time you switch camera perspectives, as well as when any map-specific player geometry appears or disappears. (This is because our audio loops are tied to the player renderer to bypass server lag)

Repro Steps:

  1. Enter the attached world
  2. Select and deselect the poppy in your inventory, and observe the entities.

This will make the entities swap render controllers.

The one on the left has the same geometry but different texture; The one on the right has different geometry and texture.
They both constantly rotate using q.anim_time.

Observed Results:

The entity on the right snaps back to the default position, as the animation time is reset to 0.

Expected Results:

The render controllers should swap without altering any animations.

Screenshots/Videos attached:

Observed Behavior
Expected Behavior

Regression Build:

Last worked in 1.17.20.21, broke in 1.17.20.23

Notes:

The repro steps yield the same results on DX11 vs RenderDragon builds of the same version. However, this bug doesn't seem to occur on the player when switching perspectives in RenderDragon; on DX11 it always occurs. As such, the impact field doesn't seem to apply to switching perspectives in RenderDragon in some maps. I have not investigated this further.

Unresolved

Energyxxer

2021-09-11, 12:11 AM

2021-09-11, 01:10 AM

4

1

Future Release

-