Unable to install rive package in Unity
I created a UI screen created using state machine in rive. (consisting of buttons with different states like pressed, idle ). I want to run it in unity. I tried to install rive package by pasting the URL given inside the rive website guide for unity, in windows->package manager-> add-> paste URL. I even made sure to change the last 2 digits in the URL to the latest available version and I was able to install it (0.3.3-canary.80) but in my C# script, it is not supporting the state machine and RiveWidget initialization probably as rive wasn't installed properly. I even tried generating URL using CHAPGPT but unity doesn't accept it and redirects me to Addressables.
The rive component is available in the Gameobject(in task menu) in unity and I created a rive panel (canvas) and applied the .riv asset to it and I can see the card in unity, but I'm unable to access it via script as it shows error due to unable to recognize RiveWidget and State machine.
Also I'm unable to add RiveComponent in Inspector as it is not available, again probably due to the fact that rive package is not installed.
Important details :
Unity version : 2022.3.26.f1
I have installed git in my system as well
Please help me, my assignment is due today!!
You have to select "Install package from Git URL".
Then paste this url:
https://github.com/rive-app/rive-unity.git?path=package#v0.3.4-canary.51
Then it should say "Please wait, installing a package".
After that, it should look like this (but with the new version):