I am working on the Block Breaker in the Unity 2D course and I am getting a NullReferenceError whenever the ball makes contact with a brick. As a result the bricks are not disappearing and my score will not update. Can somebody point me in the right direction? The last time had one of these errors I did not assign a value to a SerializedField, but I think there is something else wrong this time.
NullReferenceException: Object reference not set to an instance of an object
Block.DestroyBlock () (at Assets/Scripts/Block.cs:25)
Block.OnCollisionEnter2D (UnityEngine.Collision2D collision) (at Assets/Scripts/Block.cs:20)