playMaker

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

grindcitygamingstudio

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
WWW Object Randomnly Fails
« on: January 29, 2019, 04: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: 14593
  • Official Playmaker Support
    • View Profile
Re: WWW Object Randomnly Fails
« Reply #1 on: January 30, 2019, 12: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
    • View Profile
Re: WWW Object Randomnly Fails
« Reply #2 on: January 30, 2019, 09: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.