Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2021.1
Issue ID
1353845
Regression
Yes
HDRP Camera Binder throws error
HDRP Camera Binder throws errors and its depthBuffer and colorBuffer properties are not working:
Error assigning 2DArray texture to (null) texture property 'New Camera_depthBuffer': Dimensions must match
UnityEngine.VFX.Utility.VFXPropertyBinder:LateUpdate ()
Error assigning 2DArray texture to (null) texture property 'New Camera_colorBuffer': Dimensions must match
UnityEngine.VFX.Utility.VFXPropertyBinder:LateUpdate ()
Steps:
1. Create a VFX graph with a Camera property exposed in the blackboard, and add it to the scene.
2. Add a HDRP Camera Binder component to the gameobject with the VisualEffect.
3. Set up the property binding:
- Select Main Camera as "Additional Data"
- Select the exposed Camera property as "Camera Property"
4. Have Game view visible and observe the errors. If the VFX graph is using the colorBuffer or depthBuffer properties from the exposed Camera property, it will get a gray texture instead of the exposed Camera buffers.
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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a7