Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: sturmburg on September 16, 2015, 10:27:16 PM
-
Hi,
I Have the latest version of Unity, PlayMaker, and the Ecosystem. After I import ArrayMaker, get the following errors:
Assets/PlayMaker Utils/Event Properties/Actions/GetEventProperties.cs(12,22): error CS0101: The namespace `HutongGames.PlayMaker.Actions' already contains a definition for `GetEventProperties'
Assets/PlayMaker Utils/Event Properties/Actions/SetEventProperties.cs(14,22): error CS0101: The namespace `HutongGames.PlayMaker.Actions' already contains a definition for `SetEventProperties'
Assets/PlayMaker Utils/Extensions/PlayMakerUtils_extensions.cs(6,21): error CS0101: The namespace `global::' already contains a definition for `PlayMakerUtils_Extensions'
Assets/PlayMaker Utils/Internal/PlayMakerUtilsDotNetExtensions.cs(10,21): error CS0101: The namespace `global::' already contains a definition for `PlayMakerUtilsDotNetExtensions'
Any help is greatly appreciated.
Thanks
-
Hi,
it means that you have duplicates of those 4 items (scripts)
GetEventProperties
SetEventProperties
PlayMakerUtils_Extensions
PlayMakerUtilsDotNetExtensions
the 1st 2 are actions, you can search them and delete one of them
the last 2 are extension you can try to delete the duplicates also but be sure to make a backup of your project folder 1st
did you have an older version installed or do you have other PM addons installed?
-
Hi,
You'll simply need to delete the "PlayMaker Utils" folder and for example reimport ArrayMaker.
It's likely a mix up between an old version of the PlayMaker Utils and the new ones where I reorganised some of them scripts.
Bye,
Jean
-
Hi,
Thanks for the quick response. I did delete the PlayMaker Utils folder and then a complete fresh install of the latest PlayMaker and ArrayMaker and that fixed the problem.
Thanks again.
-
Hi, I've recently installed Array Maker via Ecosystem and I'm running into the same problem as sturmburg. Except I'm also receiving additional errors:
Assets/PlayMaker ArrayMaker/Actions/ArrayList/ArrayListAdd.cs(71,38): error CS0103: The name `PlayMakerUtils' does not exist in the current context
After installing Playmaker I installed ArrayMaker but left out (unchecked) the PlayMaker Utils folder. Doing that only got rid of the GetProperties and SetEventProperties error.
What am I doing wrong? I'm using the latest Unity 5.4 build.
-
Hi,
ArrayMaker must have PlayMaker utils. It won't work without.
So delete the PlayMaker utils folder first and then reimport arrayMaker, it will be fine then.
Bye,
Jean
-
Hi jeanfabre,
Thanks for the reply. As a test, I started a brand new Unity project and reinstalled everything, PlayMaker first, then Ecosystem, searched for Array Maker, installed it and everything seems to work. I didn't receive any errors and I didn't have to delete the PlayMaker Utils folder. A ran the scene as a test and there were no issues compiling. I'm not sure if something was updated, but it seems to be working now.
-
Hi,
good. Yes, sometimes making update is tricky :) It involves making sure you have cleaned up if versions upgrade do not match.
Bye,
Jean