Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Pandawolf on June 09, 2019, 10:36:07 PM
-
After downloading Playmaker I get 6 bugs.
1. Assets\PlayMaker\Actions\GUIElement\SetGUIText.cs(14,15): error CS0311: The type 'UnityEngine.GUIText' cannot be used as type parameter 'T' in the generic type or method 'ComponentAction<T>'. There is no implicit reference conversion from 'UnityEngine.GUIText' to 'UnityEngine.Component'.
2. Assets\PlayMaker\Actions\GUIElement\SetGUITexture.cs(14,15): error CS0311: The type 'UnityEngine.GUITexture' cannot be used as type parameter 'T' in the generic type or method 'ComponentAction<T>'. There is no implicit reference conversion from 'UnityEngine.GUITexture' to 'UnityEngine.Component'.
3. Assets\PlayMaker\Actions\GUIElement\SetGUITextureAlpha.cs(14,15): error CS0311: The type 'UnityEngine.GUITexture' cannot be used as type parameter 'T' in the generic type or method 'ComponentAction<T>'. There is no implicit reference conversion from 'UnityEngine.GUITexture' to 'UnityEngine.Component'.
4. Assets\PlayMaker\Actions\GUIElement\SetGUITextureColor.cs(14,15): error CS0311: The type 'UnityEngine.GUITexture' cannot be used as type parameter 'T' in the generic type or method 'ComponentAction<T>'. There is no implicit reference conversion from 'UnityEngine.GUITexture' to 'UnityEngine.Component'.
5. Assets\PlayMaker\Actions\ComponentAction.cs(65,19): error CS0619: 'GUIText' is obsolete: 'GUIText has been removed. Use UI.Text instead.'
6. Assets\PlayMaker\Actions\ComponentAction.cs(70,19): error CS0619: 'GUITexture' is obsolete: 'GUITexture has been removed. Use UI.Image instead.'
Upon deleting The GUIElements folder the bug count is reduced by 4. Bugs 5 & 6 remain and I have no idea how to fix.
Any help would be much appreciated.
Note: I currently have no programming knowledge I am a 3D modeler.
-
What version of Unity are you using?
Unity is supposed to be removing support for UI Elements soon, so I assume you're using a beta or alpha version?
-
Hi,
I have the exact same problem as Pandawolf.
I have tried the following Unity versions:
2019.4.17f1
2019.4.21f1
2020.3.0f1
Pandawolf, did you manage to find a fix?
-
I replied to your post in this topic:
https://hutonggames.com/playmakerforum/index.php?topic=20665.0