[BUG] SubNode parameters

NodeCanvas Forums Support [BUG] SubNode parameters

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #15556

    Hello, me again.

    There is a bug whith SubNode exposed variable. For example if you have SubNode graph in blackboard, you can change SubGraph at runTime, or in different prefab. In This case exposed variable will no longer remain in the serialization because the sub graph changed. What will be more expected, is that parent graph / SubNode can keep what you set for EACH graph, especially in prefab.


    So having Parent Graph associated with Sub graph 1 can be parameterized, but Parent Graph with Sub graph 2 too. Having multiple combination of Parent graph with many SubGraph and their respective exposed parameters possible.


    Hello and super sorry for the late reply. I missed your post..

    Right now subgraph variables mapping does not work with dynamic subgraphs (meaning subgraphs that change reference via blackboard variables). It is basically one or the other. Since int his case the subgraph is assigned dynamically, keeping a “map” for each potential subgraph automatically is not possible. I could implement something for this but it will require user input to “store” the mapping (as well as cleaning mappings that are not longer required). So is what you suggest the following workflow?

    1) Assing a subgraph to the variable that the subgraph node is reading.

    2) Go to SubGraph node. Make the variable mapping and store the mapping (manually via button).

    3) Assing another subgraph to the variable and repeat the process.

    Let me know.


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


    Yeah will be perfect manually, So everyone can understand the purpose of this.
    Automatic is indeed impossible and can lead to infinity of combination / embedded “map” you don’t use anymore.

    However we have to detect the “type of graph”, because subGraph only use intantiate graph. And the setting part will use “asset graph”.

    Cool =)

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