This bug has been fixed and we’re shipping it in patch releases. However, the fix is very trivial and you can do it yourself without risking an upgrade: in the same file find a definition for UnityWWWConnectionDelegate and remove the ‘nonatomic’ flag from the condition property.
We’re having the same problem. But you need to remove nonatomic from NSCondition* condition, not NSURLConnection* connection. And that’s only in WWWConnection.mm.
When can we expect a Unity patch for this? We’re using Cloud Build, which makes it harder to remove the nonatomic.
Which release are you using. This fix so far has been backported to 5.6 and newer, patch releases with the fix are not yet out, but are being tested now.
We use 5.6.3f1. We might upgrade to 2017 if that one gets the patch first.
Unfortunately, no. It just randomly happens sometimes when I switch view. Our Unity project is more an app than a game. We have to do a bunch of request to retrieve all images and data. Maybe it’s related, but every time we close a view, we do Resources.UnloadUnusedAssets.
@GAMEDIA_Justin We’re using the following iOS PostBuild script to replace the overriden files. Just place in the appropriate folder and add a “.override” to the .mm filename. Should work with Cloudbuild.
I’m using Unity 2017.2 and I have this issue, crashing for ~8% of the player base.
Looked on WWWConnection.mm and the property is like this, so should be working I guess: