Rive RenderTexture not getting input in Unity UI Toolkit

Hi I've been using Rive and trying its integration with Unity. I see that Rive's main integration with Unity is using their Rive Panel and Rive Widget object, but is it possible to use Rive with Unity's UI Toolkit?

I tried putting Rive inside UI Toolkit with some setups. First I have a Rive Panel and Rive Widget but no Panel Renderer.

I also have a UI Toolkit’s UI document that has a visual element set to a scriptable object as its data source. Then for the Background/Image field of that VisualElement, i set it to bind to the Background field of the data source.


Then, during runtime, I have a script that set PanelSetting.Background to the RenderTexture of the RivePanel

It can work and it shows the Rive asset during runtime, but the problem is it does not register any input

I do feel like this is a bit of a hack, but I’m curious if I’m going to the right direction, or is it just not possible to use Rive inside UI Toolkit?