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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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