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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a7