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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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