Closed antilunchbox closed 8 years ago
Hi, can you post the error message you are receiving here?
I don't get sync failure all the time, but it's definitely: "get_isDebugBuild can only be called from the main thread"
I use UnityRequestQueue.Instance.ExecuteOnMainThread(action)
as a workaround.
It makes sense that OnSyncFailure and OnSyncSuccess should be called on the main thread, as is currently not always the case. We will incorporate that into future releases, but for now using UnityRequestQueue.Instance.ExecuteOnMainThread
as @Andreyul mentions is an appropriate workaround.
Fixed in version 3 for aws sdk for unity. If you continue to face problems please raise a new issue on our dotnet sdk repository
OnSyncFailure I get main thread complains, but OnSyncSuccess the same calls are totally fine.