playMaker

Author Topic: WWW Object Randomnly Fails  (Read 1913 times)

grindcitygamingstudio

  • Playmaker Newbie
  • *
  • Posts: 3
WWW Object Randomnly Fails
« 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: WWW Object Randomnly Fails
« Reply #1 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

grindcitygamingstudio

  • Playmaker Newbie
  • *
  • Posts: 3
Re: WWW Object Randomnly Fails
« Reply #2 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.

memetic arts

  • Full Member
  • ***
  • Posts: 141
Re: WWW Object Randomnly Fails
« Reply #3 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