Do not ever call a script just Collision

If it happenens to you that somehow your triggers or colliders does not works, check if you named your script just Collision, probably it will create a weird Unity internal conflict or some sort and it will give it a weird error in the console.
Yep do not do it…call it in some other way, just like CollisionHandler or whatever…learned this the hard way, banging my head over it, for atleast 1 hour…

Privacy & Terms