Sometimes, when I remove a Sprite property from an Animation to switch it out with another one, the button “Add Property” just stays greyed out. It doesn’t tell me why and I can’t drag in a sprite either.
What am I doing wrong here?
@Chrislundy
For me, I simply removed the Animator component and then created Animation, and it worked perfectly.
I’m not sure why this issue is here (Probbably a bug) but that seemed to work for me.
What to do
Remove Animator Component and then create Animation
Hope this helped!
darkhydra855
OK, I didn't see that it works fine in other places. That confirms that some other element is affecting the InputField. Could you share the code that calls InpuController.Setup()
?
Did you fix the problem? I currently have the same issue.
Your minimal project works for me, too. I really wonder what keeps my inputField from focusing. Maybe something really is "stealing" the focus from it, but shouldn't it show that it is focusing in the logs at least once?
– Amphibologyi have got a good solution make sure the main object that has the animation is in hirachey if not add it then open the animation window and select the object that should help
– PedologyFound this solution. It works form me!
http://answers.unity3d.com/answers/753124/view.html
^ LINK IS BROKEN ^
Updated the answer to show the calling code.
– AmphibologyJust ran into this issue and figured it out. It only lets you animate the same object the animation was created on… Since I’m animating a different object, had to create the animations with that object selected. I’ve never seen an animation clip with an invisible attachment to a specific GameObject like this.
Perfect! What if you comment out placeholder.text = "Please enter sth";
? I have a hunch that setting the placeholder text may steal the focus. Although, in my test that didn't change anything... :(
I have got a good solution. Make sure the main object that has the animation in it’s hierarchy - if not add it. Then open the Animation window and select the object. That should help.
© 2022 - 2025 — McMap. All rights reserved.
Did you fix the problem? I currently have the same issue.
– Rabah