playMaker

Author Topic: Playmaker bug!  (Read 1860 times)

Pandawolf

  • Playmaker Newbie
  • *
  • Posts: 1
Playmaker bug!
« 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.
« Last Edit: June 09, 2019, 10:40:52 PM by Pandawolf »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Playmaker bug!
« Reply #1 on: June 11, 2019, 10:39:46 AM »
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?

milad132

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Playmaker bug!
« Reply #2 on: March 20, 2021, 12:14:32 PM »
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?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Playmaker bug!
« Reply #3 on: March 21, 2021, 03:12:50 PM »