Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game Player Input and Cameras Move the Player with Animation

Kari Soto
Kari Soto
1,836 Points

Compiler errors when I click the play button.

Like a lot of people, I am getting a compiler error when I hit the play button.

Unlike a lot of people, I didn't start writing code yet. I wanted to see the idle animation, but when I hit play I see the compiler error. What am I doing wrong?

K Cleveland
K Cleveland
21,839 Points

What does the compiler error say?

Kari Soto
Kari Soto
1,836 Points

Strange. I didn't change anything but I stopped getting the error.

1 Answer

Brent Tennant
Brent Tennant
11,380 Points

I had the same issue initially. There was a prompt about obsolete APIs and assets that Unity could update if you go ahead and click "OK I have a back up". I clicked no thanks the first time and that's where I ran into the errors. If you close Unity and reopen it, you get the same prompt and choose "OK I have a back up". Fixed the Compiler error for me :)