NodeCanvas Forums › Support › [BUG]Can't add node in unity editor 2021.1.19. › Reply To: [BUG]Can't add node in unity editor 2021.1.19.
I ran into the same problem. I was able to get it working by replacing lines 355 and 356 of EditorUtils.ContextMenus.cs
from:
var itemField = typeof(GenericMenu).GetField(“menuItems”, BindingFlags.Instance | BindingFlags.NonPublic);
var items = itemField.GetValue(menu) as ArrayList;
to
var itemField = typeof(GenericMenu).GetField(“m_MenuItems”, BindingFlags.Instance | BindingFlags.NonPublic);
var items = itemField.GetValue(menu) as IList;
Username
Password
Remember Me
By registering on this website you agree to our Privacy Policy.
Email
Confirm Password
Username or Email