How to start a coroutine when you are not on the main thread (audio thread)?

Hi,

I’m doing something with audio and to be precise on timing I’m using audio’s own thread but I need to start a coroutine from there but it’s not allowed. Any fix?

Thanks

Hi @UnbreakableOne

First of all, what is the

Audio’s own thread
Is it a script you created?
And for calling Coroutine you must do:

StartCoroutine(coroutine());