Search Issue Tracker
Fixed
Fixed in 3.1.4
Votes
0
Found in [Package]
3.1.3
Issue ID
CMCL-1649
Regression
No
Visible camera jitter when moving around the Scene while in Play Mode
Reproduction steps:
1. Open the attached “repro_IN-96137“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
4. Open the Game view
5. Move around the Scene and observe the Game view while the “Capsule“ GameObject is moving
Expected result: There is no visible camera jitter
Actual result: There is visible camera jitter
Reproducible with: 3.1.3 (2022.3.59f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6)
Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested
Notes:
- Reproducible in Player
- According to the user, the jitter is caused by “Cinemachine Brain” Component not being updated at the same rate as the tracked GameObject
- According to the user, the only way they can fix the jitter is by setting position
- damping to 0
====
This test project calls ManualUpdate from an ECS system, without any logic to ensure that it happens exactly once per render frame or physics frame.
The issue is that CinemachineBrain.ManualUpdate cannot be called more than once per frame. If you call it more often, then the cameras will not be updated on the additional calls. The result is that Cinemachine cannot be presented with steady target motion in this setup.
To support this in CM, need to search code for uses of Time.frameCount and find some way to make this compatible with multiple ManualUpdates per frame.
Related issue: [https://discussions.unity.com/t/cinemachinebrain-manualupdate-cant-seem-to-work-when-called-in-fixedupdate-or-latefixedupdate/1611952/4]
Here, client wants to call ManualUpdate from a custom LateFixedUpdate phase, but the fixed-frame logic within ManualUpdate does not allow this.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
This is a an edgecase, because it's pathological to be updating the cameras more than once per frame. Supporting this usecase will introduce more risk than it's worth.
A much better fix would be to add logic to synchronize camera updates with frames rather than relying on the update frequency of ECS systems.
Resolution Note (fix version 3.1.4):
Added API do call ManualUpdate with custom frame count and deltaTime