Beginning with Unity 2023 FindObjectOfType & FindObjectsOfType are marked obsolete.
New Object finding methods are available and promise better ways for controlling the performance.
We no longer find something OF a type we now find BY type! 😃#indiedev #gamedev pic.twitter.com/2vbFCNo1c2
— Binary Impact (@BinaryImpactG) May 7, 2024