Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Alex Chouls on February 05, 2019, 02:08:03 PM

Title: Asset Store Bug!
Post by: Alex Chouls on February 05, 2019, 02:08:03 PM
EDIT: Jean Fabre has a better guide to working around this Asset Store bug here (https://hutonggames.com/playmakerforum/index.php?topic=20177).

If you have errors with a fresh install from the Asset Store you may be running into this Asset Store bug:

The Unity Asset Store does not properly keep track of which version an asset was downloaded for. For example, if you run Unity 2018.3 and download Playmaker you get the version for 2018.3. If you now open Unity 2017.4 and import Playmaker, the Asset Store will try to import the 2018.3 version and you will get errors!

To fix this, you have to manually re-download PlayMaker when you switch Unity versions. The new Asset Store UI does not make this easy, but you can switch to Shop on Old Store in the Asset Store settings. Then go to the Download Manager, find Playmaker and manually download it again.

Alternatively, you can delete the Asset Store cache (find Hutong Games LLC to just delete Playmaker):
https://answers.unity.com/questions/690729/how-do-you-remove-packages-already-downloaded-from.html

Sorry for the inconvenience! We reported this bug to Unity quite some time ago, and they were able to reproduce it, but we're still waiting on a fix...

Title: Re: Asset Store Bug!
Post by: PlaymakerNOOB on May 25, 2019, 10:16:24 PM
So I updated to 2019.1 and updated playmaker and got 1.9.0.p16, and ran into some issues with building and a recommendation was to downgrade my project to 2018.2.20f1 and so I did.  I deleted the cached playmaker file from ~/Library/Unity/Asset Store-5.x/Hutong Games LLC/ Editor Extensions/Playmaker.unitypackage and redownloaded from the asset store and i got 1.9.0 but I am still getting the same error as I did on 1.9.0.p16.


----
Unloading broken assembly Assets/PlayMaker/Editor/PlayMakerEditor.dll, this assembly can cause crashes in the runtime
----


When I try to open to open the playmaker editor, its blank and I get spammed with:


----
TypeLoadException: Could not load type 'HutongGames.PlayMakerEditor.FsmEditor' from assembly 'PlayMakerEditor, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null'.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:295)
UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:288)
UnityEditor.HostView.SendUpdate () (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:367)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:191)
----
Title: Re: Asset Store Bug!
Post by: Alex Chouls on May 26, 2019, 12:35:45 AM
Did you follow the steps on this page:
https://hutonggames.com/playmakerforum/index.php?topic=20177

What issues did you run into with building? Is there a thread you can point me to?
Title: Re: Asset Store Bug!
Post by: PlaymakerNOOB on May 26, 2019, 08:59:51 AM
The 3 dots to escape to the old asset store no longer exists.

Here are some posts to the Unloading Broken Assembly PlayMakerEditor.dll error, but they are all unresolved
By Pudgy https://hutonggames.com/playmakerforum/index.php?topic=19873.msg86873 (https://hutonggames.com/playmakerforum/index.php?topic=19873.msg86873)
By Plancksize https://hutonggames.com/playmakerforum/index.php?topic=18466.msg81189#msg81189 (https://hutonggames.com/playmakerforum/index.php?topic=18466.msg81189#msg81189)

My issue is gradle prewarm when exporting an android build.  Here are the threads.
https://forum.unity.com/threads/gradle-prewarm-failed-in-unity-2018-3-3f1.620206/
https://forum.unity.com/threads/unity-2018-2-3f1-build-issue-with-gradle-and-googleaidl.546478/#post-3917137
https://forum.unity.com/threads/gradle-prewarm-failed-in-2018-3.606766/

I've tried changing the android manifest, changing android SDK to 28.0.2, 28.0.3, 29.0.0.-rc1, 29.0.0.-rc2, 29.0.0.-rc3

I also looked through this: https://docs.unity3d.com/Manual/android-gradle-troubleshooting.html but since building worked before upgrading, I doubt that anything new/duplicate has been added.
Title: Re: Asset Store Bug!
Post by: PolyMad on May 31, 2019, 11:09:29 AM
Man their web programmer SUCKS BADLY!
The AS is terribly slow and the interface is surely not immediate, quick and friendly.
One of the worst (top level) stores I've ever seen.
Title: Re: Asset Store Bug!
Post by: PlaymakerNOOB on June 02, 2019, 08:27:32 PM
I was able to 'fix' it by just using 2019.1 or higher when creating a new project.  If I import my existing project it has random errors. 
Title: Re: Asset Store Bug!
Post by: djaydino on June 03, 2019, 11:33:53 AM
Hi.
Ye the new store search engine is bad as well
way less hits than there should be.
it works even better just to search on google in some cases.

Now the old store is gone, you need to remove the PlayMaker asset manually and redownload.

Here is where you can find the folder :
Title: Re: Asset Store Bug!
Post by: Broken Stylus on July 29, 2019, 12:33:19 PM
Hi.
Ye the new store search engine is bad as well
way less hits than there should be.
it works even better just to search on google in some cases.
Quoted for truth.

Quote
Now the old store is gone
Yeah, the unity3d.com link is definitely gone. But they still have left the option "revert to old store" in the lower right, at the bottom of the page.
Loads nothing tho lol.  ;D
Title: Re: Asset Store Bug!
Post by: jeanfabre on July 30, 2019, 06:34:05 AM
Hi,

 AHH, that's where they've put the "return to old store"... I thought they removed it all together.

Bye,

 Jean
Title: Re: Asset Store Bug!
Post by: djaydino on July 31, 2019, 01:34:57 AM
Hi.
Me to, i thought is was gone.

Main reason i still like to use the old store is that there is a delete option.