Reply To: Generic Action – Namespace not used but it\'s defined

NodeCanvas Forums Support Generic Action – Namespace not used but it\'s defined Reply To: Generic Action – Namespace not used but it\'s defined

#15761
Gavalakis
Keymaster

Hey!

Hmm. This is weird. From the screenshots I see that DataContainer namespace is grey out (meaning it is not used) in the Task ActionTask class. This may mean that there is another class named exactly the same “ToggleByGroup” and the IDE is using that instead of yours that lives in the DataContainer namespace.

Can you please explicitly use the full type name in your ActionTask class and try again?
This basically means to use the full type name “DataContainer.ToggleByGroup” instead of simply “ToggleByGroup” wherever that type is used.
Alternatively you can also add this at the top of the class:

Let me know if that was indeed the case.
Thanks!

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