Found my error, was a wrong usage of the coroutine. Thank you for the help,bartbes wrote:Well, the error basically says what you're doing wrong, you're trying to yield from within a function called from c++ (a physics callback?) or from within a metamethod (like __index).
Denis