Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: coggia on January 02, 2018, 10:32:43 AM
-
Hello
I've updated playmaker to 1.8.6:
- by import it from the assetstore first
-then by using the playmaker installation window (with the pre-update check, and installing)
After updating I got these console error messages :
Assets/PlayMaker/Editor/BaseGuidedTourWindow.cs(192,49): error CS0619: `UnityEngine.EventType.mouseDown' is obsolete: `Use MouseDown instead (UnityUpgradable) -> MouseDown'
&
Internal error: Recursion detected while updating scripts (assembly name: Assembly-CSharp-Editor.dll)
Try it to install twice, failed twice.
I'm under Unity2017.3.0f3
-
Hi,
i just had the same issue, try re downloading before importing again, them import again and in the project folder go to :
Playmaker/Editor/Install and double click Playmaker.1.8.6
and on my side the error was gone after that.
-
Thanks,
But the asset store (even web based) does not allow me to download the asset, it opens directly in unity.
So far i've tried to import it again from asset store, then go to the asset/playmaker/editor/install and install it from here and I get the same error.
How do you download the asset without passing by unity?
-
Hi,
You should be able to download it in the asset store inside unity not from the web browser.
go to Windows or press ctrl-9
have you tried on a clean project?
-
Hi again,
Ok I found how to download from the asset store, did again all the steps : same issue :/
But on new clean project, 1.8.6 is working ok.
Too bad that it fails on my current project :(
-
Hello,
I'm just guessing at this point but i think if you just change
"UnityEngine.EventType.mouseDown"
to
"UnityEngine.EventType.MouseDown"
it should work, I did something similar to it with my project and it worked >.>
-
Strange that the Unity API updater is failing in your project.
You could submit a bug report to Unity for them to look into it.
These events are updated in the next update, but in the meantime, you could copy the Playmaker dlls from a new project into your current project.
-
Hi,
I can't replicate this... odd. Are you on windows or Mac?
if your project already has playmaker and it has trouble to update, clean up PlayMaker, by deleting the PlayMaker folder ( make sure you moved out the Resources/PlayMakerGlobals and your templates out of that "PlayMaker" folder first). Also delete the Plugins folder content (just the PlayMaker dlls, if you have more assets than just PlayMaker in there)
When you install PlayMaker from a project that has errors, the wizard is not going to be launched, so simply manually install by importing the package situated in "PlayMaker/Editor/Install/"
Also, it might be good to check if Unity can run the api updater before you do that, maybe that's all that is required: go to the Unity Menu "Assets/Run api updater" if it's not greyed out.
Bye,
Jean
-
Hi everyone, thanks for trying to help.
So i'm on mac high sierra, Unity 2017 3.0f3 stable release.
My Assets/Run api updater is grayed.
And i've tried to delete the playmaker & plugin folder, reinstall playmaker : I get the same errors.
To be noticed that everytime unity asks me to make an API update (you know, when it converts automatically old syntax to new) and i choose Yes.
And everytime the errors comes from the playmaker code, not mine (which is quite simple btw)
-
Hi.
If you want you can upload your project and pm me a link (use a password protected place, don't place it on a public place)
So i can have a look if i can get rid of the error.
Do you have backups from your project?
If so could you also upload(if possible) and send me the link so i can test/see what happens when updating.
If not you should make one now, and make a habit of backing up regularly :)
-
I'm really thankful for your hand up,
but it's a really small project that i'm using to familiarize myself with playmaker, so I guess I'll finish it without updating it, and start my other project with Playmaker 1.8.6 on fresh install
I really appreciate the help anyway,
I'm just hoping that I'll not encounter this kind of troubles in my future projects when I'll upload playmaker :)
-
Hi.
No problem, but still it would be nice for us to test so we can pinpoint the issue/bug and solve the problem or report to unity if it is a unity issue :)
You can also send a bug report inside unity, go to : Playmaker/Tools/Submit Bug Report.
-
okay, I just PM it to you,
If it can helps anyone if there is a real issue here other than with my computer
-
Hi,
ok, it happened to me today! so basically, you just need to run the api updater and it's fine ( menu Assets/Run API Updater)
Bye,
Jean
-
Oh ok, but how come my "Run API Updater" is grayed out and not yours? (I cannot choose it )
-
I think there's a bug in the Unity API Updater. Sometimes it fails and then won't let you run it again. I haven't been able to repro here.
One thing you could check is the file write privileges for your project. Make sure no files are read-only for some reason. That would stop the API Updater from changing those files.
-
I'm under MacOS, not a file is locked.
So i guess it's really a bug.
Anyway, as it don't reproduce on a clean install, i'll have just to finish my tests on the old version, and start later on a new clean install.
thanks for all your times & efforts everyone.
-
You could manually copy the updated dlls from a new project to the old project: Assets\PlayMaker\Editor\PlayMakerEditor.dll
We will also have an update soon that won't need the API Updater to run.
-
Yes indeed, by updating copying manually the PlayMaker.dll, it works
Thanks for your time and efforts :)