Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: grindcitygamingstudio on January 29, 2019, 06:33:39 PM

Title: WWW Object Randomnly Fails
Post by: grindcitygamingstudio on January 29, 2019, 06:33:39 PM
Good afternoon,

I am having an issue with the WWW Object action. I am using the action to make Get requests from my AWS apis. About 90% of the time, it all works as it should. However, there are random occasions where I get the following error and the game breaks:

"You are trying to load data from a stream which has not completed the download yet.
You need to yield the download or wait until isDone returns true."

Would anyone be able to help me with this? I’m looking to release my project next month and this is my last roadblock.
Title: Re: WWW Object Randomnly Fails
Post by: jeanfabre on January 30, 2019, 02:30:12 AM
Hi,

 can you try WebDownloadRequest from the Ecosystem, this is the new way for Unity to make www queries.

Bye,

 Jean
Title: Re: WWW Object Randomnly Fails
Post by: grindcitygamingstudio on January 30, 2019, 11:34:14 AM
Hi Jean,

Thank you for replying! I did also try that action but it seems to be inconsistent. Sometimes it works but at times it just doesn’t read anything at all from the same URL.
Title: Re: WWW Object Randomnly Fails
Post by: memetic arts on April 20, 2022, 03:10:57 PM
Looks like it's been a few years, but wondering if this was ever resolved.  Having a similar issue, same error message, but only happening on iOS -- works fine in the Editor.  In my case, using Unity 2017.4.40f1.

thx