question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NodeGraph.nodes created as Node type

See original GitHub issue

Hi, 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:closed
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Lunaciecommented, Jul 28, 2021

Changing the m_Script values in the asset file fixed it. Thank you so much, Siccity.

0reactions
Siccitycommented, Jul 29, 2021

Glad you got it working again. Mismatched .meta files usually happen when you rename a script from other places than through Unity

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found