Search Issue Tracker
Fixed in 5.2.1
Votes
0
Found in
5.1.1p2
Issue ID
708549
Regression
No
[WWW,iOS] Creating a WWW request without saving a reference to it triggers a crash.
To Reproduce:
1. Deploy and click on "Post static (this sends a ~500kb www request to http://requestb.in/1dvc6m41?inspect without waiting for the request to complete with yield).
2. Observe that the app crashes with same error as the user's project (https://ono.unity3d.com/_admin/gists/590)
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Agent_007
Aug 25, 2015 11:37
It would be nice to get more info about this.
I assume something like
public static void Post(string url)
{
new WWW(url);
}
triggers this bug (but not always) and crash in XCode points to EXC_BAD_ACCESS in UnityReportWWWFinishedLoadingData
and you can fix this issue by using basic www yield example as base code
http://docs.unity3d.com/ScriptReference/WWW.html