Unity C# 2D Course Issues

Hello,

I’m stuck on lecture 22. I just finished figuring out how to make the camera follow my car and it works great, but as you can see in the screenshot my game screen is all green except for two little sections of road. What the heck did I do wrong? My code is all exactly the same as Ricks, but I can’t figure it out.

Also, why aren’t any of my buttons labeled? It’s really annoying. (I’m using 2021.3.8f1)

Welcome to the community, @finikyjoe

Try restarting Unity. If that doesn’t work, you may have to reinstall the version. Those buttons are very broken.

I’m not sure why your sprites are not showing properly. It may be the sort order, but it may also be the broken Unity editor

Thanks, @bixarrio!

I tried restarting unity, but the buttons still don’t have labels. If I reinstall the version, would it mess up my project?

For my sprites, it was the sort order. I changed the clipping planes setting on my camera to -6 and now it looks good.

Reinstalling Unity will not affect your project. Just install the same version again. It looks like Unity is unable to find the built-in resources like button icons.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.