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
- The script can be dragged and dropped before it is compiled
- Double clicking script field no longer opens it in the external script editor
- [Android] Build fails with built-in PAD custom asset(s) when using sample Addressable
- [iOS] nw_read_request_report crash
- The serialized field value cannot be changed when trying to set it back to "None"
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a7