matthewscharles / metasound-plugins

Some custom nodes for UE5 Metasounds
3 stars 0 forks source link

Register custom node #5

Closed matthewscharles closed 1 week ago

matthewscharles commented 1 week ago

Everything builds now, but there does not seem to be a way to access the plugin -- it needs a place within the Metasound list of nodes

matthewscharles commented 1 week ago

Needs to be registered on startup see: https://dev.epicgames.com/community/learning/tutorials/ry7p/unreal-engine-creating-metasound-nodes-in-c-quickstart#nodecreationandregistration

matthewscharles commented 1 week ago

Ok, this is already happening in the template I started from. Next step: check the startup module

matthewscharles commented 1 week ago

Upon further inspection, the registration in the startup module seems to be redundant. I think I should assume that this is registering OK, I need to check the placement in the hierarchy elsewhere.

matthewscharles commented 1 week ago

Need to set the metadata

matthewscharles commented 1 week ago

Going back to the FNodeClassMetadata Metadata, there seems to be a place for this in the category hierarchy. However, if I try to set this directly with a string, I get:

error C2440: 'initializing': cannot convert from 'initializer list' to 'TArray<FText,FDefaultAllocator>'

matthewscharles commented 1 week ago

(note: no sign of my test message in the log when I run the apparently successful build)

matthewscharles commented 1 week ago

Resolved. There seems to have been another issue in my build process, it works well now!