Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: Groo Gadgets on May 25, 2018, 05:05:48 AM
-
Hey guys,
I just updated to Playmaker 1.9 I hit a wall of script errors when using Doozy Dotween Playmaker actions. Version 1.9 seems to have removed the definition for "Restart". Here's the console error I get on all the actions:
Assets/DOTweenPlaymakerActions/Actions/DOTween/DOTweenTransformLocalMoveX.cs(99,45): error CS0117: `HutongGames.PlayMaker.LoopType' does not contain a definition for `Restart'
I've sent an email to Doozy alerting them to the error. Is this something they can fix easily or is it an issue with version 1.9?
Cheers,
Simon
-
1.9.0 added a HutongGames.PlayMaker.LoopType enum that is likely conflicting with Doozy's LoopType definition. Doozy probably just needs to put their LoopType in a namespace, or fully qualify their names. Feel free to put them in contact with me if they need more info (they should probably also be in the beta group so they can catch things like this before release).
-
Hi
Is there something we can do ourselves as I have emailed Doozy myself and not got any reply.
I get 2 types of errors (321 in total)
Assets/DOTweenPlaymakerActions/Actions/DOTween/DOTweenAnimateColor.cs(147,33): error CS0117: `HutongGames.PlayMaker.LoopType' does not contain a definition for `Restart'
and
Assets/DOTweenPlaymakerActions/Actions/DOTween/DOTweenAnimateFloat.cs(181,21): error CS1928: Type `DG.Tweening.Tweener' does not contain a member `SetLoops' and the best extension method overload `DG.Tweening.TweenSettingsExtensions.SetLoops<DG.Tweening.Tweener>(this DG.Tweening.Tweener, int, DG.Tweening.LoopType)' has some invalid arguments
Thanks
David
-
Yes It broke my project too :(
-
Try this:
Double click the error to open the script file.
Add this to the top of the file:
using LoopType = DG.Tweening.LoopType;
Let me know if this works.
-
Thanks for that Alex but unfortunately adding that line doesn't fix the errors.
-
Try this: Wherever you see LoopType replace it with DG.Tweening.LoopType
Note, after you fix one file you might still get errors in other files. You will need to work through the files with errors.
Sorry I'm not at my computer to check this myself...
-
BE CAREFUL
DoTween has been updated too and made major changes, so much that all known PM actions are now not working, both the free pack available somewhere in this place and Doozy's pack.
Each action throws an error about "call ambiguity". it's so bad that if you don't know how to solve this, you better NOT update DoTween because that will mean the asset's version you have on your computer will replace the one you used previously which worked. I went through this so I know; you'll have to use an old project and export the actions as a package and put that in your new project.