Unity 6 Warning: Object.FindObjectOfType<T>()

Neteffect

New member
Hi There,

I am writing for information.
Unity 6 - 6000.0.30f1 - Behavior Deisgner 1.7.11 gives single warning:

Assets\Behavior Designer\Integrations\UltimateCharacterController\Editor\UltimateCharacterControllerDrawers.cs(70,34): warning CS0618: 'Object.FindObjectOfType<T>()' is obsolete: 'Object.FindObjectOfType has been deprecated. Use Object.FindFirstObjectByType instead or if finding any instance is acceptable the faster Object.FindAnyObjectByType'

Regards,
Fatih
 
Thanks, this will be updated with the next integration update. Unity automatically calls the correct method so it doesn't cause any problems until then.
 
Back
Top