Skip to content

ObjectPooler.Recycle(GameObject pooledObject) sometimes fails its Debug.Assert call #3

Description

@nickpettit

Still need to track down why, but sometimes when an ObjectPooler with PoolerBehavior set to RecycleOldest generates lots of objects, the debug assertion in ObjectPooler.Recycle() fails.

See this line:
https://github.com/buck-co/unity-pkg-buck-basics/blob/99e6d37e8845191adc04f9ad99ffda52b4a8a5b7/Runtime/Utility/ObjectPooler.cs#L130

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions