The Object Pool cannot destroy Object

EVG

Member
Good day. When destroying a pool object using delay, an error appears: The Object Pool cannot destroy Object ..
But if the delay is removed, then there is no error. Why is that?

Err.png
 
The ObjectPool class does not implement ObjectPool.Destroy(gameObject, delay) so that's calling regular unity code. This means that it's not actually going through the object pool and you'll later get an error.
 
Top