[Unity Tip] Why FindObjectOfType returns null?
Added 2023-05-29 11:03:33 +0000 UTC𝗙𝗶𝗻𝗱𝗢𝗯𝗷𝗲𝗰𝘁𝗢𝗳𝗧𝘆𝗽𝗲<..>() 🔍 method will 𝗿𝗲𝘁𝘂𝗿𝗻 𝗡𝗨𝗟𝗟 if the searched 𝗼𝗯𝗷𝗲𝗰𝘁 is 𝗱𝗶𝘀𝗮𝗯𝗹𝗲𝗱 in the hierarchy 😑
It can be really frustrating if you don't know it - especially since ex GetComponents<>() finds all the objects 👍🙂