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
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?)”
-
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! -
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Build and Run button greyed out for locally invalid architecture, despite remote build is specified
- Graphics Settings: “Use Defaults” checkboxes misaligned in Tier Settings section
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
This is a duplicate of issue #-1730