- Home /
URP 2D Lights Jittering on Mobile
Hello all.
I'm using the URP 2D Lights.
I have in my game two joysticks, one to control the rectangle movement and another one to control the direction of the light. The lights are child of the rectangle.
My problem is that whenever i'm moving my rectangle, the lights begin to jitter. I have already tried to create a new project, removing all other scripts and just letting the rectangle with rigidbody and a velocity with the lights attached to it and it still makes the lights jitter everytime it moves.
This problem only occurs when I build the game and run on my mobile phone, it is a Samsung Note 8, tried with different phones with no luck.
I've attached both PC GIF and Mobile Gif to better explain the problem.
Tried to change from moving the rectangle using Rigidbody2D to Translate instead and also using differente types of updates with no luck also.
Can't lights be within a moving gameobject?
I'm using Unity 2020.3.15