playMaker

Author Topic: Ecosystem doesn t work  (Read 40986 times)

emildragan

  • Playmaker Newbie
  • *
  • Posts: 38
Ecosystem doesn t work
« on: August 28, 2024, 07:07:58 AM »
Hi,

For a few months, ecosystem looks dead for Unity versions 2023.2.16f1 and even lower version.

After import, I get
GUI Error: Invalid GUILayout state in EcosystemBrowser view. Verify that all layout Begin/End calls match
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

and when try to take an action, I get
ArgumentNullException: Value cannot be null.
Parameter name: bytes
System.IO.File.WriteAllBytes (System.String path, System.Byte[] bytes) (at <f843d796055e4deaa447e7ba073cff5f>:0)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser+<ProceedWithImport>d__107.MoveNext () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:2904)
Net.FabreJean.UnityEditor.EditorCoroutine.update () (at Assets/net.fabrejean/Editor/Plugins/EditorCoroutine.cs:53)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <1f7309508ffe410aad4144801d0db5ae>:0)

Is there a fix for this?

Thanks

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4191
  • Official Playmaker Support
    • LinkedIn
Re: Ecosystem doesn t work
« Reply #1 on: August 31, 2024, 01:18:36 PM »
Sorry about this, looking into it now...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Ecosystem doesn t work
« Reply #2 on: August 31, 2024, 01:24:29 PM »
Hi,

ok, thanks for reporting, I'll look into it.

make sure you have the latest ecosystem as well, just in case :)

https://hutonggames.fogbugz.com/?W1181


Bye,

Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Ecosystem doesn t work
« Reply #3 on: August 31, 2024, 02:55:05 PM »
Hi,

All good on unity 2022 and 2023.

You can ignore the error about the GUI Error, the other error is more problematic.

Can you confirm you are using the latest playmaker and ecosystem?

Bye,

Jean


emildragan

  • Playmaker Newbie
  • *
  • Posts: 38
Re: Ecosystem doesn t work
« Reply #4 on: September 01, 2024, 05:56:29 AM »
Hello,

Yes, so I checked again, Playmaker is version 1.9.8. The ecosystem I tried today to download again from the menu - Playmaker - Download Addons and I have the error  like it is not available. Please see the attached image.

I installed the latest ecosystem that I had in my computer, which is 0.6.11, and same errors appear, like this one
ArgumentNullException: Value cannot be null.
Parameter name: bytes
System.IO.File.WriteAllBytes (System.String path, System.Byte[] bytes) (at <f843d796055e4deaa447e7ba073cff5f>:0)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser+<ProceedWithImport>d__107.MoveNext () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:2904)
Net.FabreJean.UnityEditor.EditorCoroutine.update () (at Assets/net.fabrejean/Editor/Plugins/EditorCoroutine.cs:53)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <1f7309508ffe410aad4144801d0db5ae>:0)


Thanks.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Ecosystem doesn t work
« Reply #5 on: September 02, 2024, 03:49:52 AM »
Hi,

Something is odd with your internet connection, I just checked again the link from the wiki page and it works fine.

As for the error in the project. Can you create a brand new project, install just playmaker and just the ecosystem, and if you get the error, can you zip that project and send it to me?

Bye,

Jean

emildragan

  • Playmaker Newbie
  • *
  • Posts: 38
Re: Ecosystem doesn t work
« Reply #6 on: September 04, 2024, 05:15:02 AM »
I just sent you a transfer with an empty project, playmaker and ecosystem installed and with the same errors.

It s weird what you say about internet connection, but it s true, and maybe it s connected with that error, the fact that I cannot download. On my computer even if I am connect with a cable or wifi, that link of ecosystem doesn t work.
If I try with my phone, connected to the same network, it works, so I don t know.

Thanks.

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 824
Re: Ecosystem doesn t work
« Reply #7 on: September 04, 2024, 10:27:38 AM »
It's working on my side.

Side question, but are there any plans to have a bright theme for the Ecosystem interface? I'm not working in a cave so the dark theme is not practical at all.

Alatriste

  • Full Member
  • ***
  • Posts: 198
Re: Ecosystem doesn t work
« Reply #8 on: September 12, 2024, 04:37:57 PM »
I'm also experiencing issues with Ecosystem when downloading packages. When I download individual actions I don't have any problems.

I tried already to uninstall Ecosystem and download it again from the https://hutonggames.fogbugz.com/?W1181

It happened a few weeks ago when I tried to install the arraymaker package, and today is happening again with the TextMeshPro packages.

This is the error I get when I close the ecosystem window and I reopen it again.

Code: [Select]
GUI Error: Invalid GUILayout state in EcosystemBrowser view. Verify that all layout Begin/End calls match
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Code: [Select]
ArgumentException: Getting control 1's position in a group with only 1 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at <701a05767aa048528876500a22329b6c>:0)
UnityEngine.GUILayoutUtility.BeginLayoutArea (UnityEngine.GUIStyle style, System.Type layoutType) (at <701a05767aa048528876500a22329b6c>:0)
UnityEngine.GUILayout.BeginArea (UnityEngine.Rect screenRect, UnityEngine.GUIContent content, UnityEngine.GUIStyle style) (at <701a05767aa048528876500a22329b6c>:0)
UnityEngine.GUILayout.BeginArea (UnityEngine.Rect screenRect) (at <701a05767aa048528876500a22329b6c>:0)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser.OnGUI_ItemList () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:1944)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser.OnGUI_Main () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:814)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser.OnGUI () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:1134)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <477bdcb097d4488eae58cbed17286dd8>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <477bdcb097d4488eae58cbed17286dd8>:0)
UnityEditor.DockArea.OldOnGUI () (at <477bdcb097d4488eae58cbed17286dd8>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <fef112fd0f15457e8e58500118cb5cea>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <fef112fd0f15457e8e58500118cb5cea>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <701a05767aa048528876500a22329b6c>:0)

And when I click the Get button I get the following error:
Code: [Select]
ArgumentNullException: Value cannot be null.
Parameter name: bytes
System.IO.File.WriteAllBytes (System.String path, System.Byte[] bytes) (at <b11ba2a8fbf24f219f7cc98532a11304>:0)
Net.FabreJean.PlayMaker.Ecosystem.EcosystemBrowser+<ProceedWithImport>d__107.MoveNext () (at Assets/net.fabrejean/Editor/PlayMaker/Ecosystem/EcosystemBrowser.cs:2877)
Net.FabreJean.UnityEditor.EditorCoroutine.update () (at Assets/net.fabrejean/Editor/Plugins/EditorCoroutine.cs:53)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <477bdcb097d4488eae58cbed17286dd8>:0)

So, the package is showing up green like it's been downloaded, but the import window's not popping up at all. I'm pretty sure it's not actually downloading anything though, because when I look in the Playmaker Custom Actions folder, there's nothing related to the action or package.

Unity version: 2022.3.25f1
Playmaker: 1.9.8.f1
Ecosystem: 0.6.11

Edit: I also tried in a fresh new project, and only Playmaker was installed—still, the same error when tried to download a package.
« Last Edit: September 12, 2024, 04:56:58 PM by Alatriste »

JoeGameDev

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Ecosystem doesn t work
« Reply #9 on: September 12, 2024, 11:51:32 PM »
I'm also having this issue, with the "value cannot be null" error. I've been having it intermittently for weeks, but it's bad tonight.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Ecosystem doesn t work
« Reply #10 on: September 13, 2024, 12:14:00 PM »
Hi,

 The two errors about  GUI Error and Argument Exception for Group position control can be ignored.

I tried on the project that was sent to me and I could not repro the "Value cannot be null".

What search do you input exactly, maybe it matters.

Bye,

Jean


JoeGameDev

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Ecosystem doesn t work
« Reply #11 on: September 13, 2024, 03:47:17 PM »
I searched for Pooler. Previously I searched for Get Axis Raw and had the same issue.

Alatriste

  • Full Member
  • ***
  • Posts: 198
Re: Ecosystem doesn t work
« Reply #12 on: September 14, 2024, 03:53:18 AM »
I searched for "TextMesh Pro" or "Arraymaker"
I don't have problems with individual actions but with packages.

emildragan

  • Playmaker Newbie
  • *
  • Posts: 38
Re: Ecosystem doesn t work
« Reply #13 on: September 15, 2024, 05:55:40 AM »
So for me, when I search anything it works, when I download, doesn t matter what, it doesn t work and I have the null error.

I think it s an internet problem, since again, when I try to download the ecosystem package from playmaker website, I have this error.

Hmmm… can't reach this pageIt looks like the webpage at https://raw.githubusercontent.com/jeanfabre/PlayMaker--Ecosystem--Browser/master/Packages/Ecosystem.unitypackage might be having issues, or it may have moved permanently to a new web address.

It shows like that only on laptop or computer, on the phone, connected to the same network, I can download.

Ecosystem is hosted on github I think, so should be a connectivity problem, but I can go directly to the github page and take from there manually any action, so I don t know what else to say.

Montypeter_912250

  • Playmaker Newbie
  • *
  • Posts: 1
Re: Ecosystem doesn t work
« Reply #14 on: September 16, 2024, 01:03:51 PM »
ArgumentNullException: Value cannot be null.
Parameter name: bytes

Hi,
I get the same error codes. So what is your solution?