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.

iOS

-

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)

  1. 6b1bcf15575c998d2ec4c701dfdfb417?d=mm

    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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.