XaiJu
Peter
Peter

patreon


[Unity Tip] Why FindObjectOfType returns null?

đ—™đ—¶đ—»đ—±đ—ąđ—Żđ—·đ—Čđ—°đ˜đ—ąđ—łđ—§đ˜†đ—œđ—Č<..>() 🔍 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 👍🙂



More Creators