Animation: "add property" button greyed out
Asked Answered
C

5

0

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?

95995-screenshot-49.png

Claypan answered 21/2, 2024 at 10:17 Comment(1)

Did you fix the problem? I currently have the same issue.

Rabah
N
0

@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

Neuromuscular answered 20/6, 2017 at 15:14 Comment(1)

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()?

Absent
R
0

Did you fix the problem? I currently have the same issue.

Rabah answered 22/10, 2017 at 12:13 Comment(2)

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?

Amphibology

i 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

Pedology
V
0

Found this solution. It works form me!

http://answers.unity3d.com/answers/753124/view.html

^ LINK IS BROKEN ^

Vermicular answered 21/2, 2024 at 10:19 Comment(1)

Updated the answer to show the calling code.

Amphibology
H
0

Just 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.

Housman answered 12/2, 2024 at 21:59 Comment(1)

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... :(

Absent
P
0

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.

Pedology answered 21/2, 2024 at 10:22 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.