Skip to content

Null reference when creating empty object pool. #9

@TolinSimpson

Description

@TolinSimpson

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions