Search Issue Tracker

Active

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?)”

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.