Search Issue Tracker
By Design
Votes
0
Found in
2023.2.4f1
2023.3.0a18
Issue ID
UUM-58475
Regression
No
"Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
How to reproduce:
1. Open the “kk.zip“ project
2. Observe the Console window
3. (If no warnings are thrown)
3.1 Rebuild the Library
3.2 Observe the Console window
Expected result: No warnings or errors in the Console window
Actual result: “Object.FindObjectsOfType<T>() is obsolete (has deprecated)” warning is thrown
Reproducible with: 2023.2.4f1, 2023.3.0a18
Couldn’t test with: 2021.3.33f1, 2022.3.15f1 (Object.FindObjectsOfType<T>() is not deprecated)
Reproducible on: MacOS 12.6.7 (by reporter), Windows 11
Not reproducible on: no other environment tested
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
`FindObjectsOfType` are still usable in that version. The reason we deprecated it as it did not scale as it was doing sorting that dont scale with the amount of Object in the project as explained in the Obsolete warning.
So for speed, I would suggest moving to the new API `FindObjectsByType`