Recently my Unity project required a generic object pool.
In the past, I used more complex systems and needed to use functions like GetComponent to access the spawned object’s components.
For myself, I made a mre performant one by removing the complications.
This can be found in my GitHub repository
A tutorial has been added to github READ.me