Search Issue Tracker
Active
Under Consideration for 6000.4.X, 6000.5.X, 6000.6.X
Votes
0
Found in
6000.4.3f1
6000.5.0b4
6000.6.0a3
Issue ID
UUM-139862
Regression
No
Adaptive Performance Samples are using the obsolete "FindFirstObjectByType" method
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI counter displays incorrect collectible count when using "Remaining_Collectibles_UI" Prefab in "Get Started With Unity" template
- Camera Output Texture does not revert back to previously set Render Texture when camera selection in UI Builder canvas background is changed
- Some post-processing volume overrides only update after a refresh when using HDRP
- Video Player glitches when Skip On Drop is enabled
- GameObject movement in Scene view becomes stuttery and intermittently freezes when using non-standard pointers across editor tabs or window boundaries
Add comment