I am getting a really annoying bug, the camera alters the view when Im not in playmode, everytime I click something or press any key, it seems to rotate and move a bit… Then works fine in playmode.
Removing the Look At target seems to fix the issue, but obviously I need my looak at target. What could be causing this?
If I click and move in the game window (while not playing) it acts as if it tries to move and then isntantly resets, creating a creazy jitter.
My setup is nothing weird, just a freelook camera looking at a dummy target:
Hi Gregoryl,
Thank you for taking the time to respond. Luckily I have been helped on this issue in a dedicated post i created because I thought this one was a bit too old:
My problem was caused by parasite camera objects remainings from previous tests i made with cinemachine. Deleting the old main camera and creating a new one seemed to solve everything
I fixed this by moving my cinemachine object. It was a child of the camera that it was controlling (with CinemachineBrain attached), and once I moved it to being a sibling of the camera all is good. Thanks Gregoryl.
Interesting, cool that it worked for you. In my case, the cinemachine camera and the main camera were already siblings, so the issue wasn’t due to parenting.
This is still a problem in Unity 2022.3.35f1 and cinemachine version is 2.10.3. Any quick fix to avoid this in the editor till the time you guys find the problem and fix it.