Custom Blueprint Node doesn't show up

Hi,

I just managed to follow a tutorial on how to get custom blueprints to show. It worked and it shows up.

http://puu.sh/rVekF/a202155bfc.png

Then, I used another tutorial to get another blueprint of what I actually want to achieve (Get the names of assets inside folder in my game)

Here is the declaration on the header file.

http://puu.sh/rVeu7/7f69edb6af.png

And the cpp code

http://puu.sh/rVewg/42ecb1ff25.png

It all compiles just fine. But even after I restart the game again, the node fails to show up in the blueprint when I search for it. Even though the Project Version nodes does show up and works properly. I am stumped by this, as it compiles, and one of those does work. Anyone has an idea why the custom blueprint node fails to show up?

http://puu.sh/rVeBI/529b65888b.png

H download - Dropbox - File Deleted

CPP download - Dropbox - File Deleted

Thanks!

Here is an uneducated guess: You need make the GetSongNamesInsideFolder static, just like GetProjectVersion just above it.

does it show if you turn off context sensitive in your search menu?

Yeah. If I untick it, it does show up. But It ask for a self connection, and I didn’t pass anything unto it on the function for it. http://puu.sh/rVsdN/d7df1034b1.png

Thanks! It was showing up if I turned off the context sensitive box. Howeevr, it required a self connection for it to work. I just added static to it on the header and it worked!

static TArray<FString> GetSongNamesInsideFolder(); //path is hard coded for now

http://puu.sh/rVswG/2793e12001.png