Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: edufurla on August 06, 2015, 10:11:13 AM

Title: Ecosystem Json error
Post by: edufurla on August 06, 2015, 10:11:13 AM
Hi.
I getting a Json error when I install ecosystem and try search something.
I am using Unity 5.1.2.f1 and Ecosystem 0.4.3f37 on Windows 10.
I had the same error in other computer with Windows 7.
So far Ecosystem only worked to me in a computer with Windows 8.1

Any ideias?


Json parsing error Object reference not set to an instance of an object
UnityEngine.Debug:LogWarning(Object)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser:ParseSearchResult(String) (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:1785)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser:OnInspectorUpdate() (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:1714)
UnityEditor.HostView:OnInspectorUpdate()
Title: Re: Ecosystem Json error
Post by: krysber on October 26, 2015, 09:38:07 PM
I'm using Unity 4.6.1f1, Playmaker 1.7.7.f6, and Ecosystem 0.4.5 and when trying to search for anything I get error:

Code: [Select]
Json parsing error Object reference not set to an instance of an object
UnityEngine.Debug:LogWarning(Object)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser:ParseSearchResult(String) (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:2096)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser:OnInspectorUpdate() (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:2025)
UnityEditor.HostView:OnInspectorUpdate()

This just started a few minutes ago. PC reboot solves nothing.
Title: Re: Ecosystem Json error
Post by: jeanfabre on October 27, 2015, 06:04:01 AM
Hi,

 odd, I am using 0.4.5 here and it works fine.

 rebooting your pc won't change anything. there is no need to do this when you have this issue.

 Is it still happening? on all your projects?

 Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: krysber on October 27, 2015, 11:59:25 AM
Working today...

(http://media.giphy.com/media/5zRdGJbnOOBuU/giphy.gif)
Title: Re: Ecosystem Json error
Post by: djaydino on October 27, 2015, 04:51:59 PM
Hi,
i got a json error also yesterday when i wanted to search something and then tried with a new project and it still had the problem.
then 15 min later i tried again ans it worked again.
Could be something with the github server?
Title: Re: Ecosystem Json error
Post by: jeanfabre on November 05, 2015, 09:11:20 AM
Hi,

 I'll implement a automatic statistic on this so that I'll get notified when this happens. It should not happen, unless you are unlucky and search when I am uploading an updated on the server code and it breaks the search for a a second of too, but I doubt it. It could be that on of sub searches returns a result that I don't treat properly.

 so the next version of the Ecosystem will allow me to watch this automatically. Thanks for reporting.


 Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: charming_fox on July 12, 2016, 02:37:30 AM
Hi,

Also getting the same issue, ecosystem version 0.4.8, clean project, unity ver 5.3.5f1

Thanks
Title: Re: Ecosystem Json error
Post by: jeanfabre on July 18, 2016, 09:10:18 AM
Hi,

 yes, I am already in the process of moving webhost. The issue will hopefully go away, but I can't be sure because I am pretty much certain it's a question of overload on the server with too much request per seconds sometimes.

Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: cedrico on July 18, 2016, 09:55:03 AM
Hi there, i had the issue for a while, don't know if it is related but as soon as i add enable beta features in the settings tab of the ecosystem my json parsing error goes away ;-)
Title: Re: Ecosystem Json error
Post by: jeanfabre on July 18, 2016, 10:02:36 AM
Hi,

 I don't think it's related, but that's a good hint, I'll investigate what is the difference  between the two in terms of handling.

Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: djaydino on July 18, 2016, 03:51:51 PM
Hi,
Confirmed.
It seems to work fine when Beta Feature is enabled
Title: Re: Ecosystem Json error
Post by: figgy78 on July 20, 2016, 02:26:21 PM
Same problem, I have tried enabling the beta features, but that only gives me the 500 internal server error.
Title: Re: Ecosystem Json error
Post by: Zeldag on July 20, 2016, 04:14:05 PM
Hi Figgy and welcome to the Forum!

Most of the actions can be found by googling them, otherwise just keep retrying the ecosystem over and over again (not to ridiculous extent, but quite a few times), it usually ends up working.

Which actions are you after in particular, if you cannot find them- I may be able to provide a link.

Good luck with it.
Title: Re: Ecosystem Json error
Post by: terri on July 27, 2016, 09:51:35 AM
I started to get this a lot too.
Sometimes just retrying after a few minutes will work.
Title: Re: Ecosystem Json error
Post by: Sid on July 27, 2016, 06:28:25 PM
I also have been getting this since updating the Ecosystem; it seems to work though after hitting Search about 5 or 6 times.
Title: Re: Ecosystem Json error
Post by: Maxi on July 28, 2016, 01:49:48 PM
I have the same errors, Json or sometimes 500 internal server errors. Most of the time I just find nothing, regardless of what I look for.

Specifically I am looking for the updated Version of Add Force 2D which has the self-space option. Even though it is now implemented and can be used as impulse, it still has no self-space option. I found a link in an older thread but it seems to be broken.

Does anyone have the Version?
Title: Re: Ecosystem Json error
Post by: jeanfabre on July 28, 2016, 01:58:18 PM
Hi,

Can you reference the thread or link that's broken? I'll double check.

Bye,

Jean
Title: Re: Ecosystem Json error
Post by: Maxi on July 28, 2016, 02:04:35 PM
Thanks for the quick response, the link to the thread is:

http://hutonggames.com/playmakerforum/index.php?topic=9247.0

The link you posted there is:

https://github.com/jeanfabre/PlayMakerCustomActions_U4/raw/master/Assets/PlayMaker%20Custom%20Actions/Physics%202d/AddForce2d.cs
Title: Re: Ecosystem Json error
Post by: Dan on August 04, 2016, 12:07:28 AM
I have the same problem:

Json parsing error Object reference not set to an instance of an object

and

Search Error : 500 Internal Server Error

After the 7th attempt it worked.
Title: Re: Ecosystem Json error
Post by: jeanfabre on August 04, 2016, 03:01:58 AM
Hi,

 Yes, for now, simply force the search several times, it will work eventually after 5 times.

 I am currently moving to a new host, and this hopefully will give me access to a better support on the server side to know exactly what's going on if problem persists. But I have to be extra careful with all my various stuff, services, database, etc etc. so I am being careful.

I am really sorry for the trouble...

Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: Dan on August 04, 2016, 03:07:24 AM
No problem at all. I appreciate having it, thanks!
Title: Re: Ecosystem Json error
Post by: xtincer on September 10, 2016, 06:47:55 PM
FYI searching multiple times doesn't seem to brute force the issue. I just end up with the same JSON error.
Title: Re: Ecosystem Json error
Post by: djaydino on September 11, 2016, 07:42:35 AM
Hi,
That problem was solved.

This is a different problem now, i tested it and confirmed the issue.

I have send a message to jean, the problem should be solved asap :)

Meanwhile you can find most actions here (https://github.com/jeanfabre/PlayMakerCustomActions_U4)
Title: Re: Ecosystem Json error
Post by: awshima on September 11, 2016, 12:01:03 PM
I had this problem before, but as mentioned here after a few retries it worked, but now this is not working.

Searching for "SetTransformAsLastSibling" is resulting errors since yesterday.

Search Error : 500 Internal Server Error
UnityEngine.Debug:LogWarning(Object)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser:OnInspectorUpdate() (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:2372)
UnityEditor.HostView:OnInspectorUpdate()
Title: Re: Ecosystem Json error
Post by: djaydino on September 11, 2016, 07:05:49 PM
Hi,
Ecosystem seems to be working again.
Probably there was a problem on the server
Title: Re: Ecosystem Json error
Post by: jeanfabre on September 12, 2016, 08:01:23 AM
Hi,

 Yeah, don't know what happen during the week end... I did not touched anything, and it went back up again..

ahhh the joy of shared hosting :)

 Bye,

 Jean
 
Title: Re: Ecosystem Json error
Post by: arkdzo on September 27, 2016, 02:48:57 PM
json parsing error Object reference not set to an instance of an object

how can i fix it?
Title: Re: Ecosystem Json error
Post by: djaydino on September 27, 2016, 06:47:21 PM
Hi,

You can't do much, it is a server problem.

I confirmed that there are problems and i have send a message to jean
It will be solved asap.

Title: Re: Ecosystem Json error
Post by: jeanfabre on September 28, 2016, 07:58:35 AM
Hi,

 ok, It seemed to have last only a short moment, today it seems fine.

 I have raised a ticket with my host provider, I switched for getting a better service to access logs and all, hopefully they will be able to help.

Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: madclick on October 27, 2016, 11:57:06 PM
Ecosystem isn't working today. Json error.

How do I install the custom actions U3 into my unity after downloading from github?
Thanks
Title: Re: Ecosystem Json error
Post by: jeanfabre on October 28, 2016, 02:28:29 AM
Hi,

 Crap... I am still unable to really understand why sometimes it doesn't want to work. I suspect either github or snipt online service goes down, but I haven't found a way to interfere in the queries to output errors.

 It works as I tested now, so try again please.

 else, all actions are either on Snipt or on github, here's the list:

https://snipt.net/search/?q=playmaker
https://github.com/jeanfabre/PlayMakerCustomActions_U4 ( covered U3 actions)
https://github.com/PlayMakerEcosystem/PlayMakerCustomActions_U5
https://github.com/jeanfabre/PlayMaker--Unity--UI
https://github.com/jeanfabre/PlayMakerEcosystemPackagesRep_U5

Bye,

Jean
Title: Re: Ecosystem Json error
Post by: djaydino on October 28, 2016, 02:32:45 AM
Hi,
Maybe we should transfer the snipt actions to github as snips also has no sample pictures and see if the problem stil persist.
Title: Re: Ecosystem Json error
Post by: madclick on October 28, 2016, 04:22:29 AM
Nah same json error on ecosystem.

Some info.
Macbook Pro macOs Sierra
Unity 535f1
Playmaker 1.8.3
Beta features on or off: no difference

I'm going to try downloading the actions from your links.

Chris
Title: Re: Ecosystem Json error
Post by: jeanfabre on October 28, 2016, 07:00:34 AM
Hi,

 ah, I could repro this, and I know where the problem is that time ( it's google analytics apparently). I'll try to fix it asap.

Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: madclick on October 31, 2016, 09:59:19 PM
Ecosystem not working today.

However I'm not a complainer and I managed to figure out how to download and add the action I wanted from U4.

Thanks
Title: Re: Ecosystem Json error
Post by: jeanfabre on November 01, 2016, 02:24:56 AM
Hi,

 it's ok, please report ecosystem issues, it's important. Always try several times, after you paused for a minute or two.

Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: gregacuna on December 06, 2016, 03:15:54 AM
Any solution for this yet? Starting today I'm getting "Json parsing error Object reference not set to an instance of an object"

I've tried closing Unity and retrying. Have tried over half an hour and still not getting it. Will look for actions online...but the ecosystem sure is helpful. :)
Title: Re: Ecosystem Json error
Post by: jeanfabre on December 06, 2016, 03:39:05 AM
Hi,

 no real solution yet. It usually go away on the next attempts, I am curious why on your end it still.

Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: gregacuna on December 06, 2016, 04:36:18 AM
I just tried again after about an hour and it's WORKING!
Title: Re: Ecosystem Json error
Post by: jeanfabre on December 06, 2016, 05:10:30 AM
Hi,

:) yeah, cause indeed it wasn't working well at all, so I was on the case just now and found a way...

sorry about this. now I increased the timeout so the search may take longer but at least it won't throw an error.

 Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: Evil Gremlin on December 06, 2016, 06:25:47 PM
I haven't been able to use ecosystem for 4 days.  I'm having the same issues.  Is there another way to access it?

-EDIT-  I found the github on the post above.  Thank you.
Title: Re: Ecosystem Json error
Post by: Evil Gremlin on December 07, 2016, 11:54:13 PM
So this is strange.  If I want to use ecosystem now the only way I can do it is by creating a new project.  It will work for a day and then stop working.  So then I go make another new one and it instantly works. 
Title: Re: Ecosystem Json error
Post by: jeanfabre on December 08, 2016, 03:34:50 AM
Hi,

 I am using it right now on the a very old project, and I don't experience this?

what doesn't work, do you get a log in the console or what does it show in the browser itself?

what version of Ecosystem and Unity and PlayMaker are you using?

Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: Evil Gremlin on December 08, 2016, 02:26:27 PM
So to start with everything works fine.  The Ecosystem works fine.  Then for no reason it just stops searching and/or browsing.  It doesn't give any errors it just does nothing.  But I can shut down Unity and go open a new project, import it and everything works like it should again.  So far this has happened three times.  I've noticed two strange things which may be related.  Sometimes an asset will randomly cause playmaker actions to vanish from the list.  Second, once when trying to import playmaker actions from github I ended up with two of every action.  This was on a project that had suddenly stopped working.

I am very confused by the whole thing.  It doesn't seem to be easily predictable.  And it is difficult to reproduce consistently.  I will try to keep an eye on what is happening.  I should note that all of this began with the JSON error.  I went several days before encountering it and now things are just haywire. 
Title: Re: Ecosystem Json error
Post by: jeanfabre on December 09, 2016, 01:51:10 AM
Hi,

 what version of Unity? I have experienced a script totally disappearing yesterday, but I did create it myself, it wasn't linked to the use of the Ecosystem.

I'll keep an eye on this. The search time is definitly longer since the fix for the last json error, it's because it takes more times to query the github Server now, for no obvious reasons... so I had to increase the timeout, this is maybe what makes it feels less snappy.


Bye,

 Jean
Title: Re: Ecosystem Json error
Post by: Evil Gremlin on December 09, 2016, 06:37:43 PM
5.4 2f2

I am only learning to use Playmaker atm so I have not lost any important work or anything.   As long as you know about it.  That's all  that matters.