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

Hudson Cordova
Hudson Cordova
115 Points

Errors

There were around 60 errors in my unity error box all of the sudden, since I am new I do not know what they mean...

some include:

All compiler errors have to be fixed before you can enter playmode! UnityEditor.SceneView:ShowCompileErrorNotification()

AND

Assets/Standard Assets/ParticleSystems/Scripts/WaterHoseParticles.cs(31,55): warning CS0618: UnityEngine.ParticlePhysicsExtensions.GetCollisionEvents(this UnityEngine.ParticleSystem, UnityEngine.GameObject, UnityEngine.ParticleCollisionEvent[])' is obsolete:GetCollisionEvents function using ParticleCollisionEvent[] is deprecated. Use List<ParticleCollisionEvent> instead.'

Hey Hudson, What video is this for? Also, are you able to post your code?

Hudson Cordova
Hudson Cordova
115 Points

This was for the How to make a video game video

1 Answer

Did you update Unity recently? Sometimes updating breaks a bunch of code. A lot of the time some of these get complex to fix since there's so many errors. In the case of the particle system error, it's simply telling you one method of code is now deprecated, and telling to use a slightly different syntax on the line where the error is. Most of the other errors will likely be like this, providing a code line where the error is.