camera flickering

I have the following scenario: a platform that should be used as an elevator. I created an animation with the timeline where the elevator moves from the ground up to 30 meters in height. I put a trigger inside that platform. By activating the trigger with the FPS Controller, I squeeze the animation created with the Timeline. The problem is that the platform keeps flickering all the time until it reaches the end. Any tips?

If you’ve changed the animation, you can try playableDirector.RebuildGraph() and see if the flickering goes away. Although, I’m not sure that squeezing the animation will work in a player, editing a clip used to animate transforms is only available via UnityEditor.