How to reproduce:
1. Open the user-attached project “metaLerror”
2. In the Project window, right-click on “VolumetricLightBeamSRP” Shader to open the context menu
3. Click “Reimport”
4. Observe the “Editor.log” file
Expected result: There are no errors in the “Editor.log”
Actual result: There is a “program_source:4:8: error: unknown type name 'Mtl_VertexOut'“ error in the “Editor.log”
Reproducible with: 2020.3.47f1, 2021.3.22f1, 2022.2.14f1, 2023.1.0b10, 2023.2.0a6
Fixed in: 2023.1.0b11, 2023.2.0a7
Reproducible on: macOS Ventura 13.1.2 (M1)
Not reproducible on: Windows 11 Pro
Notes:
- Not reproducible on build
- The error is not logged into the Console of the Unity Editor