Steps to reproduce:
- Open the attached project
- Enter Play mode
- Select the"New Shader Graph" asset in the Project window
- In the Inspector window, expand or collapse the Template section
- Exit Play mode
- Observe the Console window
Actual results: "AssetDatabase.ForceReserializeAssets cannot be used when in play mode" exceptions are thrown
Expected results: No errors or warnings are thrown after expanding or collapsing the disabled Template section in Play mode
Reproducible with versions: 6000.5.0a8, 6000.5.0b5, 6000.6.0a4
Not reproducible with versions: 6000.3.13f1, 6000.4.4f1, 6000.5.0a7
Can’t test with versions: 6000.0.73f1 (Shader Graph templates are not available)
Tested on (OS): Windows 11, macOS 26.4.1
Notes:
- Does not occur with VFX asset Templates