Camera moves & rotates randomly when in editor-mode

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:

Can you export a small package with this behaviour and PM it to me?

Yep, give me a few hours

Hi,can i know did ur issue solved yet? i have cinemachine issue as well so i am curious ab it too

Ill post here if it gets solved, currently I stopped using cinemachine as this is a dealbreaker.

Maybe you can try to move the main camera out of the cinemachine group. I’m not sure why but it solved my edit-mood crazy spinning issue.

1 Like

This issue is solved in CM 2.6.0-preview.3

1 Like

Hi, i’ve got this problem too , but i’m in CM 2.6.11 verified release. Did you find how to solve this issue?

Edit : i just updated to 2.8.4 and it doesn’t solve this problem.

Crazy spinning is usually a sign of a feedback loop in your camera setup. Can you post an image of your scene hierarchy, showing the relevant objects?

2 Likes

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:

https://forum.unity.com/threads/camera-has-curious-constant-rotation-around-target-in-editor-mode-2d-project.1235272/#post-7886947

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

2 Likes

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.

2 Likes

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.

thx I fixed this by moving my cinemachine object 2. its not solve in Version 2.6.17 - August 31, 2022

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.

What is still a problem?