NodeGraph.nodes created as Node type
See original GitHub issueHi,
Everything used to work just fine, until I changed my BaseNode which inherits from Xnode.Node.
For exemple, doing :
foreach (BaseNode b in graph.nodes) {}
b is null, it seems like the nodes no longer inherit the types on creation, and therefore cannot be cast back into a derived class.
Any idea what is causing this issue, and how to fix it ? Thank you in advance.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Creating and Retrieving Nodes — Katana Developer Guide
To create a node in the top level of the node graph, pass NodegraphAPI.GetRootNode() . Returns. The newly created node. Return type. Node....
Read more >Nodegraph
A nodegraph is a special component of a map designed to aid real-time NPC navigation. Nodegraphs consist of manually placed "nodes" with ...
Read more >Node graph panel - Grafana documentation
The Node graph can visualize directed graphs or networks. It uses a directed force layout to effectively position the nodes, so it can...
Read more >c++ - How to implement connections between nodes in a ...
Each type of node is a separate class that inherits from the Node base that implements some functionality for connecting the nodes together...
Read more >02. Full Programmatic Control of the Node Graph - YouTube
Learn how to manipulate the Node Graph with Node Graph API. This Module will teach you how to create and connect groups of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Changing the m_Script values in the asset file fixed it. Thank you so much, Siccity.
Glad you got it working again. Mismatched .meta files usually happen when you rename a script from other places than through Unity