playMaker

Author Topic: console errors after updating playmaker[SOLVED]  (Read 320 times)

coggia

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
console errors after updating playmaker[SOLVED]
« on: January 02, 2018, 08: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
« Last Edit: January 10, 2018, 01:28:59 AM by jeanfabre »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2531
    • View Profile
    • jinxtergames
Re: console errors after updating playmaker
« Reply #1 on: January 03, 2018, 03:33:53 PM »
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.

coggia

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Re: console errors after updating playmaker
« Reply #2 on: January 04, 2018, 03:04:03 AM »
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?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2531
    • View Profile
    • jinxtergames
Re: console errors after updating playmaker
« Reply #3 on: January 04, 2018, 08:40:10 AM »
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?

coggia

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Re: console errors after updating playmaker
« Reply #4 on: January 04, 2018, 01:39:42 PM »
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  :(

omgitstri

  • Playmaker Newbie
  • *
  • Posts: 42
    • View Profile
    • My Prototypes
Re: console errors after updating playmaker
« Reply #5 on: January 04, 2018, 02:26:25 PM »
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 >.>
Tri Nguyen
Game Designer at Nvizzio Creations

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3244
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: console errors after updating playmaker
« Reply #6 on: January 04, 2018, 06:57:42 PM »
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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12539
  • Official Playmaker Support
    • View Profile
Re: console errors after updating playmaker
« Reply #7 on: January 05, 2018, 04:03:57 AM »
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
« Last Edit: January 10, 2018, 01:27:47 AM by jeanfabre »

coggia

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Re: console errors after updating playmaker
« Reply #8 on: January 05, 2018, 05:24:02 AM »
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)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2531
    • View Profile
    • jinxtergames
Re: console errors after updating playmaker
« Reply #9 on: January 05, 2018, 06:10:06 AM »
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 :)

coggia

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Re: console errors after updating playmaker
« Reply #10 on: January 05, 2018, 06:42:47 AM »
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 :)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2531
    • View Profile
    • jinxtergames
Re: console errors after updating playmaker
« Reply #11 on: January 05, 2018, 07:16:26 AM »
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.


coggia

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Re: console errors after updating playmaker
« Reply #12 on: January 05, 2018, 09:15:37 AM »
okay, I just PM it to you,
If it can helps anyone if there is a real issue here other than with my computer

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12539
  • Official Playmaker Support
    • View Profile
Re: console errors after updating playmaker
« Reply #13 on: January 10, 2018, 01:28:49 AM »
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

coggia

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Re: console errors after updating playmaker[SOLVED]
« Reply #14 on: January 12, 2018, 06:18:58 AM »
Oh ok, but how come my "Run API Updater" is grayed out and not yours? (I cannot choose it )