Steps to reproduce:
- Create a new 3D URP package
- Open the Package Manager
- Install the Adaptive Performance package (com.unity.adaptiveperformance)
- Navigate to the Samples tab
- Import the "Environment" sample
- Observe the Console once imported
Actual results: No warnings are shown
Expected results: "FindFirstObjectByType is obsolete" warnings are shown
Reproducible with versions: 6.0.0 (6000.4.3f1, 6000.5.0b4, 6000.6.0a3)
Not reproducible with versions: 6000.3.13f1 (Method is not obsolete)
Tested on (OS): Ubuntu 24.04, macOS 26.3
Warnings:
- Assets/Samples/Adaptive Performance/6.0.0/Environment/AutoPerfControl.cs(222,49): warning CS0618: 'Object.FindFirstObjectByType<T>()' is obsolete
- es/Adaptive Performance/6.0.0/Environment/AutoPerfControl.cs(227,48): warning CS0618: 'Object.FindFirstObjectByType<T>()' is obsolete