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
- Burger button in the Multiplayer Play Mode window is not visible when using the Light theme
- AdaptiveLOD sample has missing prefabs and throws missing prefab errors when the AdaptiveLOD sample is imported and the AdaptiveLOD scene is opened
- Error "transform.position assign attempt for 'x' is not valid" is logged when Moving Game Object to View while a Scene is multi selected
- [Desktop] Plastic move detection mixes up identical files
- SVG Icon has tessellation issues in "Antialiased Arc Encodings", ok with "Basic Triangulation"
Resolution Note (fix version 6000.6.0a6):
Fixed in 6000.6.0a6
Resolution Note (fix version 6000.4.9f1):
Fixed in 6000.4.9f1