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
- There is an ability to switch to VisionOS module even though the installation of the module has failed
- Shrinking the Search Window makes the bottom elements dissapear
- Shrinking the Search Window flips scroll bar direction
- Shrinking the Search Window makes the text overlap with other elements
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
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`