Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: DanielThomas on May 31, 2018, 04:13:55 PM

Title: [SOLVED] Autoupdater after 1.9 and 2018
Post by: DanielThomas on May 31, 2018, 04:13:55 PM
After updating Playmaker to 1.9 and Unity to 2018 I keep getting a popup saying that playmaker auto updater would like to move the playmaker dlls to the plugin folder. I press OK, but after a while, I get it again.

Is there a way to fix this or turn the autoupdater off?
Title: Re: Autoupdater after 1.9 and 2018
Post by: jeanfabre on June 01, 2018, 02:51:02 AM
Hi,

 Can you make a screenshot of what you get, are you sure it's not Unity Itself that propose this?

 one way is to clean up your project from PlayMaker and import it again, make sure you back up first and try on a temp copy of your project.

 Bye,

 Jean
Title: Re: Autoupdater after 1.9 and 2018
Post by: DanielThomas on June 01, 2018, 05:38:26 AM
Thanks, I will try clean playmaker install if I can't resolve this, I was just thinking it might be a quick solution.
Title: Re: Autoupdater after 1.9 and 2018
Post by: xxpleyxx on June 01, 2018, 09:33:59 AM
Try this fix:

Class: PlayMakerAutoUpdater.cs
Method: PlaymakerDllsNeedMoving()

Search line:
Code: [Select]
var playmakerDirectory = Path.GetDirectoryName(playmakerPath);
Replace:
Code: [Select]
var playmakerDirectory = Path.GetDirectoryName(playmakerPath);
playmakerDirectory = playmakerDirectory.Replace('\\', '/');
Title: Re: Autoupdater after 1.9 and 2018 [SOLVED]
Post by: DanielThomas on June 02, 2018, 10:21:19 AM
@xxpleyxx Perfect, thanks! That did it.
Title: Re: [SOLVED] Autoupdater after 1.9 and 2018
Post by: Alex Chouls on June 06, 2018, 06:12:24 AM
@xxpleyxx thanks for posting that fix!
Will make sure it's in the next update...
Title: Re: [SOLVED] Autoupdater after 1.9 and 2018
Post by: t4d on October 02, 2018, 12:57:58 AM
this issue is still in Version 1.9 
I fixed it with the Above code ( THANKS ) 
but nice to get that fix in the Build