Game-Kit icon indicating copy to clipboard operation
Game-Kit copied to clipboard

Null reference when creating empty object pool.

Open TolinSimpson opened this issue 1 year ago • 0 comments

A check for if the amount is zero and/or the GameObject is null should be added to ObjectPools.cs

When pools are created a null reference error will be thrown if a pool can't create any GameObjects when it should be skipped.

TolinSimpson avatar Jan 20 '23 00:01 TolinSimpson