mojira.dev
MCPE-223147

Some Camera Easing Types Cause a Massive Lag-Spike or Crashes Game

In a command block map that uses camera easings for dramatic effects, I came across a bug when using the /camera command. Specifically, in the /camera’s ease argument, using the easing method “in_out_back” in the command causes a massive lag spike and/or crashes the game when it finishes easing.

Steps for recreation:

  1. Open a new or existing Minecraft world.

  2. Type in the following command to visualize the easing toward your player character

    1. /camera @s set minecraft:free pos ~ ~1.5 ~

  3. Type another command. Use the ease type “in_out_back” or “out_back” to ease towards your player character’s position. To my knowledge, these are the two of five easing functions that I have tested that have issues

    1. /camera @s set minecraft:free ease 1.2 in_out_back pos ~ ~1.5 ~

Attached are examples of the in_out_back easing function causing a huge lag spike and then crashing the game. There is also another video attached that tests out easing functions in_out_circ and in_out_sine, which both are working without any of these issues.

Linked issues

Attachments

Comments 0

No comments.

Luigigaming1234

(Unassigned)

1436826

Community Consensus

Multiple

Windows 11

1.21.92 Hotfix

1.21.110.20 Preview, 1.21.111

Retrieved