Getting error

whenever the ball collides with the breakable block, I am getting an error.

NullReferenceException: Object reference not set to an instance of an object
Block.PlayBlockDestroySFX () (at Assets/Scripts/Block.cs:82)
Block.DestroyBlock () (at Assets/Scripts/Block.cs:74)
Block.HandleHit () (at Assets/Scripts/Block.cs:50)
Block.OnCollisionEnter2D (UnityEngine.Collision2D collision) (at Assets/Scripts/Block.cs:39)

Privacy & Terms