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 trialChristoph Müller
7,282 PointsDownloadable scene file don't work in unity 5.6 0f3.
If I hit play, unity tells me that some compiler errors occurred. The error messages in Mono points out some depreciated functions. If I change them (to the suggest functions) I don't have any camera rendering, but tons of error messages.
Any help or updates files?
Kind regards Christoph
2 Answers
Robert Sells
5,215 PointsChristoph
The scene was created without a camera to start so, until a camera is put in, an audio listener will not be attached/enabled. Nick left the camera out for purposes of demonstration. Once you've added a camera, the audio listener will be attached to it and enabled, thus allowing you to hit 'play'.
(I spent about 15 minutes trying to figure it out too until I realized there was no camera yet and then figured Nick would address it.)
Ranvir Sahota
9,844 PointsOne of your errors should be to do with WaterHosePaticles script. Here is a solution: https://teamtreehouse.com/community/error-particlecollisionsystem-obsoleteuse-collidercomponent
Christoph Müller
7,282 PointsThanks Ranvir
I tried the hint your link was pointing. But still; if I run the scene: "Display 1, No camera rendering" in the Preview Window, and the error message "There are no audio listeners in the scene. Please ensure there is always one audio listener in the scene" is pilling up in the Console.
Christoph Müller
7,282 PointsChristoph Müller
7,282 PointsDear Robert
Thank you very much. That was the answer. Kind of misleading the video during that part - at least for me! You made my day!