How to reproduce:
1. Open the project “IN-99966_ExceptionMat“
2. Open the “SampleScene.unity”
3. Remove the package Window → Package Manager → Unity Registry → com.unity.render-pipelines.universal
4. Click OK to “Restart” when prompted
5. Install Window → Package Manager → Unity Registry → com.unity.render-pipelines.universal
6. Enter Play Mode
7. Exit Play Mode
8. Observe the Scene View and Console
Expected result: No InvalidOperationException error is thrown and the Mesh is visible in the Scene View
Actual result: InvalidOperationException is thrown in the Console and after leaving the Play Mode the Mesh is not visible in the Scene View
Reproducible with: 6000.2.0a9, 6000.2.0a10
Not reproducible with: 2022.3.61f1, 6000.0.47f1, 6000.1.0f1, 6000.2.0a8
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- Disabling Resident Drawer does not produce the errors
- Other versions experience issues where changing the Offset of the Material renders the Mesh invisible in the Scene View or Game View. In these specific versions the issue throws a different error and the Mesh is only invisible after leaving the Play Mode