Search Issue Tracker

Duplicate

Votes

0

Found in

3.1.5

Issue ID

UUM-134652

Regression

Yes

Cinemachine package throws CS1061 errors in the Console when installed in a project that has HDRP and URP installed

Cinemachine

-

How to reproduce:
1. Create a new project
2. Open the Package Manager (Window → Package Management → Package Manager)
3. Install the HDRP (com.unity.render-pipelines.high-definition), URP (com.unity.render-pipelines.universal) and Cinemachine (com.unity.cinemachine) packages
4. Observe the console

Actual result: Cinemachine package throws errors to console
Expected result: No errors are thrown to console

Reproducible with: 3.1.5 (2023.1.0a10, 6000.0.67f1, 6000.3.8f1, 6000.4.0b8, 6000.5.0a6)
Not reproducible with: 3.1.4 (6000.5.0a6)

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:
- Does not reproduce if only either HDRP or URP is installed, but not both
- Error messages are:
”Library\PackageCache\com.unity.cinemachine@5342685532bb\Runtime\PostProcessing\CinemachineVolumeSettings.cs(212,37): error CS1061: 'DepthOfField' does not contain a definition for 'aperture' and no accessible extension method 'aperture' accepting a first argument of type 'DepthOfField' could be found (are you missing a using directive or an assembly reference?)”
”Library\PackageCache\com.unity.cinemachine@5342685532bb\Runtime\PostProcessing\CinemachineVolumeSettings.cs(212,61): error CS1061: 'DepthOfField' does not contain a definition for 'aperture' and no accessible extension method 'aperture' accepting a first argument of type 'DepthOfField' could be found (are you missing a using directive or an assembly reference?)”
”Library\PackageCache\com.unity.cinemachine@5342685532bb\Runtime\PostProcessing\CinemachineVolumeSettings.cs(213,37): error CS1061: 'DepthOfField' does not contain a definition for 'focalLength' and no accessible extension method 'focalLength' accepting a first argument of type 'DepthOfField' could be found (are you missing a using directive or an assembly reference?)”
”Library\PackageCache\com.unity.cinemachine@5342685532bb\Runtime\PostProcessing\CinemachineVolumeSettings.cs(213,64): error CS1061: 'DepthOfField' does not contain a definition for 'focalLength' and no accessible extension method 'focalLength' accepting a first argument of type 'DepthOfField' could be found (are you missing a using directive or an assembly reference?)”

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have reviewed the issue and found it is a duplicate of an existing bug already logged in our system. To keep things organized and ensure the issue is properly prioritized, we have linked your report to the original case.

    We will now close this report as a duplicate, but the original bug remains open and under review. Your input has been noted and helps us better understand the impact of the issue. If anything changes regarding its severity or impact, please let us know.

    Thank you for helping us improve Unity!

  2. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have reviewed the issue and found it is a duplicate of an existing bug already logged in our system. To keep things organized and ensure the issue is properly prioritized, we have linked your report to the original case.

    We will now close this report as a duplicate, but the original bug remains open and under review. Your input has been noted and helps us better understand the impact of the issue. If anything changes regarding its severity or impact, please let us know.

    Thank you for helping us improve Unity!

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.