[Unity] Can't find bug in code, that spawns bonus objects with no collision bodies
Hi there, I have a problem with my game. Here is a short showcase of the problem.
When 2 balls (fruits) with same level stick to eachother, they should dissapear and create new ball (fruit) with 1 level higher - or disapear completly if it was the max possible fruit level. Sometimes there is a bug, when at random - for me - moment game catch a little freeze and spawns 3+ balls with no collision body.
When 2 balls (fruits) with same level stick to eachother, they should dissapear and create new ball (fruit) with 1 level higher - or disapear completly if it was the max possible fruit level. Sometimes there is a bug, when at random - for me - moment game catch a little freeze and spawns 3+ balls with no collision body.