net8floz
Topic Author
Posts: 27
Joined: 16 Dec 2025, 02:34

Interactions from Studio not firing

17 Dec 2025, 01:21

Hey again! I am pretty close i think to having this fully working in my engine. I have all the graphics, all the interactions, and in c++ I can grab a stroyboard and Begin() it, but I cannot Begin() it from any interaction events from studio.

For instance I have a simple button and when mouse over it starts a infinite loop storyboard. This works perfectly in studio.

In my engine even tho the button visually changes its hover state, click state, the storyboard will not play. I tried changing the button content to different text on button mouse over in Intereaction tab. In studio it works great. In engine, nothing. I didnt try to change the text from c++ but im sure it would

I did try hooking up to button events in c++ and the mouse enter, click, etc work fine there too.

So my conclusion is that interactions ( "Interactivity" in studio tab) dont seem to work at all in my implementation. I have been over the source examples over and over and theres nothing specific that needs to be done to start interaction as far as i can tell. Again I cannot dig into this because i do not have source so I could really use a kick in the right direction.

Thank you!
 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: Interactions from Studio not firing

17 Dec 2025, 22:47

Hi,

Did you get any errors about unknown types? You can add a log handler before initializing Noesis:
#include <NsGui/IntegrationAPI.h>
...
Noesis::GUI::SetLogHandler([](const char*, uint32_t, uint32_t level, const char*, const char* msg)
{
    const char* prefixes[] = { "T", "D", "I", "W", "E" };
    printf("[NOESIS/%s] %s\n", prefixes[level], msg);
});
Is it possible that you didn't include the App/Interactivity package when building your application. You can find all the source code for that package in the Native SDK inside Src/Packages/App/Interactivity folder.
 
net8floz
Topic Author
Posts: 27
Joined: 16 Dec 2025, 02:34

Re: Interactions from Studio not firing

17 Dec 2025, 23:10

My log handler is set up and does not report anything. I will see if there is a way this module could be missing during my compile but as i understand it should be part of NoesisApp.dll which I built from the sdks build/ win x86 64 solution. I don't have Interactivity in my projects target_include_directories as i am not including any of the interactivity headers. I will investigate.

Thank you for the reply!
 
net8floz
Topic Author
Posts: 27
Joined: 16 Dec 2025, 02:34

Re: Interactions from Studio not firing

17 Dec 2025, 23:21

okay turns out my log handler was actually disabled woops.

[NOESIS/E] MainPage.xaml(80,7): Unknown property type 'b:Interaction' (NoesisApp.Interaction)

think i found the reason here: viewtopic.php?p=18937&hilit=Unknown+pro ... %27#p18937

Edit: Fixed my project thanks to the link above.

Thank you for the quick support on helping me realise the issue sfernandez!
 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: Interactions from Studio not firing

19 Dec 2025, 12:12

Great to hear you solved it!

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests