Playmaker Forum
PlayMaker Updates & Downloads => Pre-release Discussion => Topic started by: carlosrovira 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
-
Hi.
The errors are referring to 'TMPro'
TMPro is from Text Mesh Pro.
Have you installed TextMesh Pro?
-
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!
-
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.