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

Graphical Error when running the game?

When I try and run the game, if I have Tonemapping, Color correction, or Vignette checked, more than half of the screen becomes a series of colored horizontal lines. Anyone have any ideas?

1 Answer

Nick Pettit
STAFF
Nick Pettit
Treehouse Teacher

Hi Will,

Sorry you're having trouble! I'm not exactly sure why this is happening, but it could be an issue with combining the Standard Assets included with the project files with the latest version of Unity.

To fix this, you can try updating to the latest Standard Assets by going to the "Assets" menu at the top of the screen and choosing Import Package > Effects. This will import and replace any outdated scripts with the latest version of the Standard Assets effects package.

Keep in mind that when you do this, it could break a few components that are attached to game objects (like the image effects on the camera). You may need to remove these components and then re-add them.

If that doesn't work, reply here and we'll keep trying to figure it out!

I've solved the problem, but thank you anyways. Apparently I had 'Anti Aliasing' turned on. Thank you for the reply, though!

Hi Nick,

I think my problem fits your description. However, once I imported the latest package effect it became even worse. Aside from the pink outlines I am not able to use the vignette and chromatic aberration script. If I do everything turns black. I hope you can help me out. Cheers.