Steps to reproduce:
1. Create new project using universal 3d template
2. Install Visual Effects Graph package
3. In top menu, click Assets > Create > Visual Effects > Visual Effects Graph
4. Click "Install learning templates"
5. Once templates are installed, repeat step 3
6. Click on "Learning Templates" group header
Actual results: InvalidCastException: Specified cast is not valid. is printed to console, Learning templates group is not collapsed
Expected results: Learning templates group collapses
Reproducible with versions: 6000.0.33f1, 6000.1.0b1
Not reproducible with versions:
Can’t test with versions: 2022.3.54f1 (Create new VFX Graph window does not exist)
Tested on (OS): MacOS 15.1.1
Notes:
- Clicking on "Default VFX Graph Templates" header will also produce the same error. However, error does not reproduce if learning templates aren't imported into the project