playMaker

Author Topic: [SOLVED] CS0311 Error on 'UiCanvasEnableRaycast.cs' with Unity 2021.2.7f1  (Read 425 times)

TheAlbinoAmigo

  • Playmaker Newbie
  • *
  • Posts: 1
EDIT: I'm an absolute tool. I'll leave this up in case someone in the future needs to see it... I accidentally created a new public class called... MonoBehaviour. It pretty much broke everything. Yeah, don't do that.

Hi there,

I've been building in a project with this version of Unity for a few weeks now, just now got this error even though I haven't used or edited the action in any way (I don't even have any UI elements to work with as yet):

Assets\PlayMaker\Actions\UI\Canvas\UiCanvasEnableRaycast.cs(9,15): error CS0311: The type 'HutongGames.PlayMaker.PlayMakerCanvasRaycastFilterProxy' cannot be used as type parameter 'T' in the generic type or method 'ComponentAction<T>'. There is no implicit reference conversion from 'HutongGames.PlayMaker.PlayMakerCanvasRaycastFilterProxy' to 'UnityEngine.Component'.

Anyone got any ideas?

Best,
Albino
« Last Edit: February 12, 2022, 05:44:50 PM by Alex Chouls »