Hi all
I am currently creating Voice Recognition by using C++/WinRT and binding it into Unreal Engine. Because I wanna let my blueprint widget to show the words when it got recognized, I created a DECLARE_MULTICAST_DELEGATE in my C++/WinRT file and use a function to BroadCast() it when words are recognized. Here is the code
It seems like it did enter the function and broadcast, but stuck at the bind event…
I’ve testted this logic by trigger the ActivateDIspatcher() function with normal blueprint Actor, it works fine…so I believe it definitely should be the problem of this Async function.
The WinRT callback is executing in a different thread, and blueprint event can only run on main thread, or something like that.
Activate dispatcher on the game thread instead :