Reproduction steps:
1. Open the attached project
2. Open "VFX Shadow Bug Test Case.vfx" Visual Effect Graph located in the Assets folder
3. Disable the "Orient: Along Velocity" Block
4. Open the Game View
5. Observe the Shadows of the Particles
6. Disable the "Orient: Along Velocity" Block in the "VFX Shadow Bug Test Case.vfx" Visual Effects Graph
7. Observe the Shadows of the Particles in the Game View
Expected result: the Shadows are displayed correctly
Actual result: the produced Shadows are not displayed correctly as if they were calculated based on the cube before rotation
Reproducible with: 10.9.0 (2020.3.34f1), 12.1.6 (2021.3.3f1), 13.1.8 (2022.1.1f1), 14.0.2 (2022.2.0a14)
Could not test with: 7.7.1 (2019.4.39f1) - Visual Effect Graph Asset is not supported
Note: the user managed to fix the issue by editing Editor/Models/Blocks/Implementations/Orientation/Orient.cs script and passing the view matrices from a script (Camera.worldToCameraMatrix and Camera.cameraToWorldMatrix) instead of relying on UNITY_MATRIX_V and UNITY_MATRIX_I_V._14_24_34