🪛 In Progress: Rive Trigger Events Not Firing in "Play" Mode, But Work Correctly in "Simulate" Mode
Hello Rive Support Team,
I am encountering a specific issue with Rive event handling in Unreal Engine and would appreciate your guidance.
My Setup:
In my Rive file, I have a nested ViewModel structure.
I have a primary ViewModel named Button_name.
Inside Button_name, there is a nested ViewModel named Button_click.
This Button_click ViewModel contains several Trigger properties, such as Play, Settings, and Exit.
On the artboard, I have visual buttons. When I click the "Play" button, for instance, it correctly fires the Play trigger property within the nested Button_click ViewModel. I have attached a short video demonstrating this setup and interaction working as expected within the Rive editor.
The Issue in Unreal Engine:
In my Unreal Engine Widget Blueprint, I am using the Bind Event to OnRiveEvent node on my Rive Artboard component. I use the output of this event with a "Switch on String" node to detect which trigger was fired (e.g., "Play", "Settings").
Here is the problem:
When I run the level using the "Simulate" mode in the Unreal editor, the system works perfectly. When I click on the buttons in the Rive artboard, the OnRiveEvent fires, and my "Print String" nodes for "Play", "Settings", etc., are correctly executed.
However, when I launch the level using the "Play In Editor" (PIE) button or in a standalone game window, the events are not received. Clicking the exact same buttons on the Rive artboard does nothing; my Blueprint logic is never triggered.
My Question:
Could you please help me understand why there is this discrepancy between "Simulate" and "Play" modes? It seems that in "Play" mode, the input or focus on the Rive artboard is not being correctly processed to trigger the Blueprint events.
Is there a specific input setting, focus management, or a different setup required for Rive events to be reliably captured in "Play" mode?
I have attached a screenshot of my Blueprint setup for your reference, along with the video of the Rive setup.
Thank you for your time and assistance.
Best regards