Steps to reproduce:
- Create a new URP project
- In the Hierarchy, right-click > UI Toolkit > Panel Renderer
- In the Inspector, click "New" and open the created UI Document
- Add any visible element to the UI Builder Hierarchy, for example a Button
- Save and close UI Builder
- In the Hierarchy, select the PanelRenderer GameObject and disable the GO
- Select any other GO and reselect the PanelRenderer GO
- Observe the Button reappears
- Enter Play mode
- Observe the Game view
Actual results: The Button reappears after reselecting the disabled Panel Renderer GameObject and remains visible in Play Mode even though the GameObject is inactive
Expected results: UI rendered by the Panel Renderer should remain hidden while the GameObject is disabled
Reproducible with versions: 6000.5.0a5, 6000.5.0b6, 6000.6.0a4
Can’t test with versions: 6000.4.5f1 (Panel Renderer not available)
Tested on (OS): macOS 26.4
Notes:
- The UI elements are not shown if the project is built
- Does not reproduce with legacy UI Document Component