I refactored my heavily tested well used method making use of Physics.OverlapCapsuleNonAlloc() to become asynchronous, replacing it with OverlapCapsuleCommand.ScheduleBatch(). All seemed well until stress testing were at some point during runtime I get multiple console warnings: “Cannot create a capsule from provided input!”. No other information to go off in the console, just that single warning line repeated 999+ times.
I have not come across this warning before and seems reasonable to conclude its to do with OverlapCapsuleCommand.ScheduleBatch(). This is a message I have never seen before with Physics.OverlapCapsuleNonAlloc(). I tried searching for the warning, but there are no results.