Steps to reproduce:
- Create a new URP project
- Import the attached SVG asset
- In the Hierarchy, create a Panel Renderer Component with UI Document assigned
- Open the UI Document in UI Builder
- Add Visual element into the Hierarchy and Save
- Select the Visual Element and in Inspector find the Background > Image property
- Change the Image type to "Vector" and assign the imported SVG asset
- Save UI Builder and Enter Play mode
- Exit Play mode
- Delete the Visual Element from UI Builder and Save
- Enter Play mode and observe the Console
Actual results: Vector asset is still visible in the Game view and "Accessing invalid property UnityEngine.UIElements.UIElementsRuntimeUtilityNative:UpdatePanels ()" errors and "Invalid image specified" warning is shown
Expected results: Vector asset is not visible in the Game view and no errors are shown
Reproducible with versions: 6000.5.1f1, 6000.6.0a5, 6000.6.0a7, 6000.6.0b2, 6000.7.0a1
Not reproducible with versions: 6000.6.0a4
Tested on (OS): macOS 26.5
Notes:
- Edit > Project Settings > Editor: for Enter Play Mode Settings, the "When entering Play Mode" setting needs to be set to "Do not Reload Domain or Scene"
- In 6000.6.0a5, the error is thrown but the Vector is not visible in the Game view after the 10th reproduction step (delete Visual Element and save), and entering Play Mode after that gives an additional error once more for a single time