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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a7