Node canvas UI bug

NodeCanvas Forums Support Node canvas UI bug

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15931
    solaw123
    Participant

    When I upgraded the Unity version to 2020.3.20f1, the node canvas UI was broken. A list of tasks that can add new tasks is not displayed. It just shows that it is loading with an error message. Please help me.
    There was no problem before upgrading the Unity version. (Previously, I used the 2019 version.)

    Attachments:
    You must be logged in to view attached files.
    #15940
    Gavalakis
    Keymaster

    Hello,

    Hmm. I have just tried in multiple Unity versions without a problem. Can you please post for me here the whole message logged in the console? (select the summary log in the console to view the whole message).

    Thank you.

    Join us on Discord: https://discord.gg/97q2Rjh

    #15944
    weezah
    Participant

    Hello,

    I have the same bug.

    The item list does not populate.

     

    NullReferenceException: Object reference not set to an instance of an object

    ParadoxNotion.Design.EditorUtils.GetMenuItems (UnityEditor.GenericMenu menu) (at Assets/ParadoxNotion/CanvasCore/Common/Design/PartialEditor/EditorUtils/EditorUtils.ContextMenus.cs:356)

    ParadoxNotion.Design.GenericMenuBrowser.GenerateTree () (at Assets/ParadoxNotion/CanvasCore/Common/Design/PartialEditor/GenericMenuBrowser.cs:271)

    ParadoxNotion.Services.Threader+<>c__DisplayClass8_0.<StartAction>b__0 () (at Assets/ParadoxNotion/CanvasCore/Common/Runtime/Services/Threader.cs:44)

    System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <695d1cc93cca45069c528c15c9fdd749>:0)

    System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <695d1cc93cca45069c528c15c9fdd749>:0)

    System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <695d1cc93cca45069c528c15c9fdd749>:0)

    System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <695d1cc93cca45069c528c15c9fdd749>:0)

    System.Threading.ThreadHelper.ThreadStart () (at <695d1cc93cca45069c528c15c9fdd749>:0)

    UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs)

     

     

    var itemField = typeof(GenericMenu).GetField(“menuItems”, BindingFlags.Instance | BindingFlags.NonPublic);

    var items = itemField.GetValue(menu) as ArrayList;

    In fact, Generic Menu is a sealed class from metadata and “menuItems” is not exposed.

     

    Cheers!

    Attachments:
    You must be logged in to view attached files.
    #15946
    weezah
    Participant

    ps: everything is fine up to 2020.2.xx, problem arises with 2020.3.x

    #15971
    Gavalakis
    Keymaster

    Hello guys,

    The latest version that is live now on the asset store, has this issue with the generic menus items fixed. Can you please update and let me know if everything works for you?

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

    #15981
    weezah
    Participant

    Great! Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.