Demigiant / dotween

A Unity C# animation engine. HOTween v2
http://dotween.demigiant.com
Other
2.34k stars 351 forks source link

No valid component was found for the selected animation #654

Closed maxmason007 closed 1 year ago

maxmason007 commented 1 year ago

Hiya!

I'm running Unity 2021.3.11f1 with DOTween v1.2.745 and its giving me the error "No valid component was found for the selected animation" when using the fade animation type on a gameobject which has a canvas and a TMpro object as the child.

I added the TMPro module when importing the plug in...any help? Snip20230830_2

Demigiant commented 1 year ago

Ahoy! Is it possible that the TextMesh Pro component is not on the HelloWord gameObject but on one of his children? I don't see it in the Inspector and that would cause DOTweenAnimation to respond like that

maxmason007 commented 1 year ago

Yes that worked, thank you!