Playmaker Forum

Playmaker News => General Discussion => Topic started by: InbalTal on July 10, 2018, 09:35:35 AM

Title: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: InbalTal on July 10, 2018, 09:35:35 AM
Hi.
When I Import Playmaker Vuforia to unity 2018.1.6f1 and hit play I get an Error play Massege. :(
When I delete the Playmaker Vuforia file everything is OK  :)

I test the same Package on Unity 2017.3.1f1 and everything is OK  :)

What could be the problem?

Inbal
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: jeanfabre on July 11, 2018, 12:13:54 AM
Hi,

 Please don't double post and prefer bumping a thread and ping me via pm.

What is the error message? It likely needs an update though, I'll see what I can do to provide something early next week, please bump me next tuesday if I did not provide.

 Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: InbalTal on July 11, 2018, 04:35:36 AM
Hi
I open A new unity 2018.1.6f1 File with the Newst Playmaker & Vuforia for Playmaker from the Ecosystem.
accept the playmaker & vuforia thier is no other data in the file
when I hit play Button this error is written on the console:

Assets/PlayMaker Vuforia/Actions/VuforiaGetExtendedTracking.cs(28,3): error CS0246: The type or namespace name `IEditDataSetBehaviour' could not be found. Are you missing an assembly reference?
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: InbalTal on July 15, 2018, 07:34:04 AM
Even though I thought the solution I got a week ago was good, once I had to change to unity from ver 2018.1.6f to 2018.1.8 it stopped working and now that I've downgraded back to prev version it's still not working. I got the same error all over again. Need solution ASAP, please advise.
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: jeanfabre on July 16, 2018, 12:12:35 AM
Hi,

 yes, I'll get on this to release an update this week.

 Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: InbalTal on July 16, 2018, 03:32:15 AM
thank's
I hope this will be fix asap

Inbal
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker - Solution for now
Post by: InbalTal on July 16, 2018, 05:58:57 AM
Hi
Until you will update the Voforia Playmaker for Unity
Everything is Working fine for Voforia 7.1.35
I check on Unity 2018.1.6f1 / 2018.1.8f1

1. Download Playmaker form Assets Store (Free)
2. Download Ecosystem from Addons (Playmaker)
3. Download Vuforia for Playmaker from Ecosystem
4. Download Substance form Assets Store (Free)
5. Download PalyMakerUtils from Ecosystem

Good Luck
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: jeanfabre on July 18, 2018, 01:41:10 AM
Hi,

 ok,

First thing, I updated Vuforia package on the Ecosystem to use the latest PlayMaker Utils, so I strongly recommend you update your package.

second, with that package, it works fine with Vuforia 7.1.35 on Unity 2018.2f5

I have had many issues with the 2018.1 release and I would suggest you move to .2.

can you confirm that on a fresh project in 2018.2 it works? if that's the case, it's a case of cleaning up your project and install the packages fresh. Let me know if that still doesn't work after that.

 Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: craigz on October 01, 2018, 07:29:41 PM
Just wanted to chime in on here again :)

Looks like with Vuforia 7.5.20 this is an issue again.

Using Unity 2018.2.10f1 over here. Going to try and downgrade Vuforia :)

-craigz
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: jeanfabre on October 02, 2018, 12:23:54 AM
Hi,

 ok, try to put PLAYMAKER_VUFORIA_7_2_20_OR_NEWER in the player settings Scripting define symbols field.


else, can you tell me what error you get in the console?

 Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: craigz on October 02, 2018, 08:17:00 AM
No dice with the updated scripting define symbols.

Here is the error:
Code: [Select]
Assets/PlayMaker Vuforia/Actions/VuforiaSetPersistExtendedTracking.cs(29,13): error CS1061: Type `Vuforia.ObjectTracker' does not contain a definition for `PersistExtendedTracking' and no extension method `PersistExtendedTracking' of type `Vuforia.ObjectTracker' could be found. Are you missing an assembly reference?
Let me know if there's anything else I can do to help :)
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: jeanfabre on October 02, 2018, 11:23:48 PM
Hi,

 ok, it's likely because you had this from a long time ago, simply delete that file, it's not needed anymore.

 Normally a clean install of vuforia playmaker support should get rid of that action.

 Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: craigz on October 03, 2018, 05:40:12 AM
Actually it was a fresh project :) I'm a new user to vuforia, though I have done the initial setup for enabling XR etc via their docs.

I downloaded the 2017 vuforia playmaker version through ecosystem and am using Vuforia 7.5.2.

Just tried clearing Vuforia playmaker support and reimporting, same issue.
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: jeanfabre on October 03, 2018, 11:36:02 PM
Hi,

 and if you delete the offending file , is it better?

you should not download the 2017 version of vuforia playmaker is you are on 2018.


 Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: craigz on October 04, 2018, 09:57:20 AM
Hi,

Downloading the other version of Vuforia Playmaker (Unity 5 on ecosystem) gives this error.

Code: [Select]
Assets/PlayMaker Vuforia/Scripts/PlayMakerVuforiaVirtualButtonProxy.cs(60,31): error CS0246: The type or namespace name `VirtualButtonAbstractBehaviour' could not be found. Are you missing an assembly reference?

Deleting the offending file on 2018 gives this error:

Code: [Select]
Assets/PlayMaker Vuforia/Actions/VuforiaGetExtendedTracking.cs(34,3): error CS0246: The type or namespace name `IEditDataSetBehaviour' could not be found. Are you missing an assembly reference?
Honestly, the main reason this is an issue is that Vuforia doesn't host past versions of their plugin (no idea why... it's really obnoxious). I read somewhere they had depreciated some functionality on extended tracking?

Vuforia Engine v7.2.20
"The Extended Tracking API has been deprecated. Use the Device Tracker to continue tracking when targets go out of camera view"

https://library.vuforia.com/content/vuforia-library/en/articles/Release_Notes/Vuforia-SDK-Release-Notes.html
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: jeanfabre on October 05, 2018, 12:00:15 AM
Hi,

 ok, so you need to get all the latests ( vuforia, unity 2018 and the bridge from the ecosystem), and simply delete the offending file.

I just tested, and it works, if I add the PLAYMAKER_VUFORIA_7_2_20_OR_NEWER compile command. But you really can just delete the offending script and be done with it.

 Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: Basti81 on October 31, 2018, 02:03:41 AM
Hi Jean,

I have the same problems with Unity 2018.2.14f1. All is fine, but when i install the playmaker vuforia package from the ecobrowser, i'm running into trouble.

You said, you have updated the package on the ecobrowser. You mean the Unity 2017 package or is there another one which i can't see at the moment?

In the ecobrowser i can only find Playmaker Vuforia Package for Unity5 and Vuforia Package for Unity2017.

Best regards
Sebastian
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker
Post by: jeanfabre on November 01, 2018, 03:50:36 AM
Hi,

 Please redownload the vufopria package ( 2017) from the Ecosystem, I fixed the editor system to detect the version, it will be easier for 2018 and newer versions of vuforia.

 Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: Basti81 on November 09, 2018, 07:41:57 AM
Hi again,

it worked a while, but now we have the same problems again. Why it worked for a while remains a mystery to us, we have not changed anything in the project. The Vuforia package does not seem to be running smoothly yet.

Our project:
Unity 2018.2.14 with current Vuforia and latest Playmaker Vuforia Package (2017) from the Ecosystem.

We also tried all suggested solutions several times including the compile command PLAYMAKER_VUFORIA_7_2_20_OR_NEWER and also the deletion of the relevant scripts VuforiaSetPersistExtendedTracking and VuforiaGetExtendedTracking.

Mostly this one:
Assets/PlayMaker Vuforia/Actions/VuforiaGetExtendedTracking.cs(34,3): error CS0246: The type or namespace name `IEditDataSetBehaviour' could not be found. Are you missing an assembly reference?

Need urgent help, we have a current project which depends on the Playmaker / Vuforia connection.
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: jeanfabre on November 09, 2018, 10:58:26 PM
Hi,

 uhm... it's unlikely that things get out of control without something happenning inside your project.

-- do you work in team, maybe someone touched something?

-- simply delete the offending file, it's an obsolete action anyway.

If you delete the VuforiaGetExtendedTracking, what error do you get next? If it mention the same file, Unity needs a bump to refresh its asset database.

-- are you sure you have auto compiling mode on in Unity

Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: Basti81 on November 10, 2018, 01:26:31 PM
Hi Jean,

thanks for the quick response and sorry for the slow on my part, I think that is due to the time difference, sit here in Germany ;-)

Currently it seems to work, have played through all the solutions again.

My problems before were as follows:

I am currently working on the project alone and the autocompile mode is also activated. The only thing I have changed on the already without problems running project (I could even generate a bugfrieen build!), I have disabled the preview play mode of Vuforia in the inspector, since I currently have no webcam here in use to test. When I ran the scene in play mode, all the problems returned immediately. With problems I mean actually only the two scripts, VuforiaSetPersistExtendedTracking.cs and VuforiaGetExtendedTracking.cs. As soon as I delete one of the two as proposed, new error messages will be added.

The error messages in the exact wording.

1. If I leave both mentioned scripts in the project:

Assets / PlayMaker Vuforia / Actions / VuforiaSetPersistExtendedTracking.cs (29,13): error CS1061: Type `Vuforia.ObjectTracker 'does not contain a definition for` PersistExtendedTracking' and no extension method `PersistExtendedTracking 'of` Vuforia.ObjectTracker' could be found. Are you missing an assembly reference?

2. If I delete the SetPersist script:

Assets / PlayMaker Vuforia / Actions / VuforiaGetExtendedTracking.cs (34,3): error CS0246: The type or namespace name `IEditDataSetBehaviour 'could not be found. Are you missing an assembly reference?

3. If I also delete the GetExtended script:

Could Not Create Action: [missing Owner]: ExtendedTracking Model Swap: Check Extended Tracking: VuforiaGetExtendedTracking (Maybe the script was removed?)
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:839)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:776)
HutongGames.PlayMaker.FsmState:LoadActions() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:123)
HutongGames.PlayMaker.Fsm:InitData() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1745)
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckFsmForErrors(Fsm) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmGraphView.cs:2459)
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckForErrors() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmGraphView.cs:2347)
HutongGames.PlayMakerEditor.FsmErrorChecker:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmGraphView.cs:2332)
HutongGames.PlayMakerEditor.FsmEditor:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditorGUILayout.cs:566)
HutongGames.PlayMakerEditor.FsmEditorWindow:Update() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:276)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Nevertheless it seems to work and I can build a working build.

It should also be mentioned that up to and including Unity 2017.4 I never had any problems with your Vuforia Package (2017), it was always great and was set up quickly! Only when changing to Unity 2018 the problems started.

Thank you for your work so far, you guys are really great and I love you and playmaker!  :-)

Many Greetings
Sebastian
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: jeanfabre on November 11, 2018, 10:36:35 PM
Hi,

 you need the 2017 version, not the 5 version

Bye,

Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: Basti81 on November 12, 2018, 02:33:28 AM
Hi Jean,

yes I know, I always use the playmaker Vuforia Packackge (Unity 2017). However, it looks like the Ecobrowser always downloads both packages directly as soon as I just want to install the Unity2017 variant.
Could that possibly cause problems?

See also the attached screenshot from the Ecobrowser, only the Unity 2017 package by itself I can not install, it always directly both packages are installed.

Anyway, currently it is running despite the error messages and I can also create builds without errors.
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: jeanfabre on November 12, 2018, 10:49:08 PM
Hi,

 Both package turning green is fine, it's because they reference the same thing internaly, but the code is different ( one of the thing that the next version of ecosystem should do better I agree)

It's odd, cause here I can't reproduce this, so there is likely a problem of communication. Can you try a fresh project?

Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: Basti81 on November 13, 2018, 04:09:59 AM
Hi Jean,

with a fresh new project i get these errors if i delete the two mentioned scripts:

Could Not Create Action: [missing Owner]: ExtendedTracking Model Swap: Check Extended Tracking: VuforiaGetExtendedTracking (Maybe the script was removed?)
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(Context, Int32) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:839)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:776)
HutongGames.PlayMaker.FsmState:LoadActions() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:123)
HutongGames.PlayMaker.Fsm:InitData() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1745)
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckFsmForErrors(Fsm) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmGraphView.cs:2459)
HutongGames.PlayMakerEditor.FsmErrorChecker:DoCheckForErrors() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmGraphView.cs:2347)
HutongGames.PlayMakerEditor.FsmErrorChecker:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmGraphView.cs:2332)
HutongGames.PlayMakerEditor.FsmEditor:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditorGUILayout.cs:566)
HutongGames.PlayMakerEditor.FsmEditorWindow:Update() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:276)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: jeanfabre on November 13, 2018, 11:16:03 PM
Hi,

 ok, that's because you are using this action in your fsm, that's already not an issue with the packaging.

Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: jeanfabre on November 14, 2018, 12:07:54 AM
Hi,

 I just triple checked again.

(https://i.imgur.com/uWd2JVI.png)

Bye,

 Jean
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: Basti81 on November 14, 2018, 01:36:01 AM
Hi,

it's working now, completly without errors. My problem was that there was an old template in the vuforia playmaker package (not created by me). See the attached screen.

After deleting this template all works fine!

Thanks a lot for your help and for the quick responses!

Best regards
Sebastian
Title: Re: unity 2018.1.6f1 + Playmaker 1.9 +vuforia for playmaker[SOLVED]
Post by: jeanfabre on November 14, 2018, 04:59:29 AM
Hi,


Cool :)

Bye,

Jean