playMaker

Author Topic: playmaker + TextMeshPro (edited title, was probuilder).  (Read 1080 times)

carlosrovira

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
playmaker + TextMeshPro (edited title, was probuilder).
« on: March 10, 2021, 05:00:53 PM »
Hi I'm using

- Unity 2020.2.7f1
- Playmaker 1.9.1.p4
- Probuilder 4.5.0

I see playmaker has some incompatibilities and for example moving objects in unity stop work.

then I get the following problems:

Assets/PlayMaker/Actions/UI/Components/PlayMakerUiEndEditEvent.cs(4,7): error CS0246: The type or namespace name 'TMPro' could not be found (are you missing a using directive or an assembly reference?)

Assets/PlayMaker/Actions/UI/Components/PlayMakerUiIntValueChangedEvent.cs(4,7): error CS0246: The type or namespace name 'TMPro' could not be found (are you missing a using directive or an assembly reference?)

Assets/PlayMaker/Actions/UI/Components/PlayMakerUiEndEditEvent.cs(18,16): error CS0246: The type or namespace name 'TMP_InputField' could not be found (are you missing a using directive or an assembly reference?)

Assets/PlayMaker/Actions/UI/Components/PlayMakerUiIntValueChangedEvent.cs(18,16): error CS0246: The type or namespace name 'TMP_Dropdown' could not be found (are you missing a using directive or an assembly reference?)

What versions are safe to use, or where I can read about it?

thanks
« Last Edit: March 11, 2021, 10:07:49 PM by Alex Chouls »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6302
    • View Profile
    • jinxtergames
Re: plamaker + probuilder
« Reply #1 on: March 11, 2021, 07:56:59 AM »
Hi.
The errors are referring to 'TMPro'

TMPro is from Text Mesh Pro.

Have you installed TextMesh Pro?
Ecosystem might not work at the moment
here are direct Github Links to the custom actions :
https://github.com/PlayMakerEcosystem
https://github.com/jeanfabre


Join the PlayMaker Discord Channel!

carlosrovira

  • Playmaker Newbie
  • *
  • Posts: 8
    • View Profile
Re: plamaker + probuilder
« Reply #2 on: March 11, 2021, 12:35:01 PM »
Hi, ok Thanks. I removed TMPro before. What I don't understand is why playmaker is complain about it, for that reason I was confused. Thanks!

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3912
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: plamaker + probuilder
« Reply #3 on: March 11, 2021, 10:06:50 PM »
Yeah, PlayMaker detects if TextMeshPro is installed to enable support for TMPro controls. If it finds TMPro it adds a define symbol: PLAYMAKER_TMPRO

However we don't have a good way to detect if TextMeshPro has been uninstalled.
For now you can manually delete PLAYMAKER_TMPRO from the platform custom #defines:
https://docs.unity3d.com/2019.4/Documentation/Manual/PlatformDependentCompilation.html

I'm editing the title of this thread to Playmaker + TextMeshPro for other people searching for this.