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 Game Audio Play Sounds with Scripts

Kelvin Haywood Jr
Kelvin Haywood Jr
1,922 Points

Inconsistent line endings... How do I fix inconsistent line endings, using Visual Studio 2017?

When I go to transfer the "RandomSoundPlayer" script into the inspector window in Unity, its tells me I cant because the script cannot be found or I may have compile errors. I keep seeing options related to inconsistent line endings, but I don't know what to fix in Visual Studio...

1 Answer

Kelvin Haywood Jr
Kelvin Haywood Jr
1,922 Points

UPDATE:

I fixed the inconsistent line issue! I just had to close VS and reopen it. It then prompted to fix lines by choose CR LF!