Search Issue Tracker
Fixed
Fixed in 6000.4.9f1, 6000.5.0b11, 6000.6.0a6
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [UWP] Mouse movement re-triggers stale <Mouse>/scroll value after the scroll wheel is used once
- "Shutdown worker was forced killed because it kept running. Worker ..." errors are thrown after building a blank HDRP project
- [UI Toolkit] USS materials in AssetBundles break due to InstanceID referencing a material that no longer exists when a Scene is loaded through Addressables for the second time
- Help button leads to a missing documentation page when clicked on a Font Import Settings in the Inspector
- Scene dependency changes do not trigger a scene re-hash during Content Archives build
Resolution Note (fix version 6000.6.0a6):
Fixed in 6000.6.0a6
Resolution Note (fix version 6000.4.9f1):
Fixed in 6000.4.9f1