How to reproduce:
1. Open the user-attached project
2. Select the UniversalRP-HighQuality asset in the Project window
3. Turn on the “Opaque Texture” setting
4. In the Project window search for “2m”
5. Open the “industrial_mezzanine_2m” Prefab
6. Select the “industrial_mezzanine_2m” Packed Prefab in the Hierarchy window
7. Open the Console window
Expected result: Mesh remains and no errors are thrown
Actual result: “NullReferenceException” is constantly thrown
Reproducible with: 14.0.3 (2022.2.0a16, 2022.2.0b4)
Not reproducible with: 10.10.1 (2020.3.41f1), 12.1.7 (2021.3.12f1), 13.1.8 (2022.1.21f1), 14.0.3 (2022.2.0a15, 2022.2.0b5), 15.0.0 (2023.1.0a5), 15.0.1 (2023.1.0a17)
Couldn’t test with: 14.0.3 (2023.1.0a1), 15.0.0 (2023.1.0a4) - Crash on: VFXBatch::AddInstance()
Reproducible on: macOS Monterey 12.6 (Intel)
Note: If the “Opaque Texture” setting is turned off, the issue no longer reproduces