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
- Packman: "My Assets" filters section doesn't rescale on filter sections collapse
- "DrawDepthNormalPrepass" exceptions are thrown in Editor when Ctrl key is held with specific renderer settings
- Script file name changes do not display in Editor when Compiler errors are present
- Sprites are not rotating with bones when the Sprite type is Unlit
- Crash on TransferField_NonArray<YAMLRead,Converter_String> when opening a specific project
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`