Steps to reproduce:
- Open the attached project
- In the Hierarchy, right-click and create a Visual Effect object
- Select the object
- In the Inspector window, click the New button under the Visual Effect component
- Select a Firework Template and save the Visual Effect asset
- In the Graph Editor window, check if the Profiling information is enabled
- In the Project window, select the newly created asset
- Delete it
- Observe the Console window
Actual results: ArgumentNullException is thrown
Expected results: No Errors or Warnings are thrown
Reproducible with versions: 2023.3.0a15, 6000.3.13f1, 6000.4.1f1, 6000.5.0b3, 6000.6.0a2
Couldn't test with versions: 6000.0.71f1, 2023.3.0a14 (Profiling information option was not available)
Tested on (OS): macOS 26.3.1
Notes:
- The issue does not occur if the VFX asset was created via the Project window