Unity Version 2020.3.25f1 LTS, Nodecanvas Version 3.2.1
The Bug appeared in Unity Version 2020.3.19f1. Version 2020.3.18f1 and below worked.
The Selector Popup for generic Condition Tasks such as “Check CSharp Event (T)”, “Check CSharp Event Value (T)”, “Check Unity Event (T)” and “Check Unity Event Value (T)” fails to populate with selectable entries and just displays “Loading …” forever (see attached Image).
Reproduction steps:
create a new GenericEventTest.cs file with the following content:
using System;
using UnityEngine;
using UnityEngine.Events;
namespace GenericEventTest
{
[Serializable] public class IntEvent : UnityEvent<int> {}
[Serializable] public class BoolEvent : UnityEvent<bool> {}
[Serializable] public class FloatEvent : UnityEvent<float> {}
[Serializable] public class StringEvent : UnityEvent<string> {}
public class GenericEventTest : MonoBehaviour
{
public IntEvent intEvent;
public BoolEvent boolEvent;
public FloatEvent floatEvent;
public StringEvent stringEvent;
}
}
open the preferred Types Editor and add the whole “GenericEventBug” Namespace
add a new Variable of Type “GenericEventTest” to the Blackboard
create a new Condition Task and select “Check Unity Event (T)”
switch the Tasks Object Reference to the Blackboard Variable above