[Solved] S14: L345: Error in tutor’s code (or bug in Unity?) - Coin AddToScore not adding up correctly. Help!
You can see the error at video time 12m25s - 12m35s - coin score goes 100, 200, 300, 500, 600 (skips 400) - there are only 5 coins! - I too have had this error in my score: I initially set pointsForCoinPickup = 1; in CoinPickup.cs and it goes 1, 2, 4, 5, but I also tried with 100 and it still produces this error.
Is it a bug in Unity? Or something not right in code? Can’t get it to add up the score properly, no matter what I try fiddling with in code.