We got an error that the PitayaClient:Finalize was called on another thread on the Unity Editor, and this triggered the fail events of the pending requests, which should be executed on the main thread. This caused an Unity Exception since we were accessing gameobjects from another thread.