@NaveenT1 Yes you will have to update to the latest version, it seems its an issue with 2022.10.9145.20221006T013555Z-220800, I tried in 2023 versions, and it was working fine- 2023.1.10675.20230113T110236Z-220900.
You can download the latest SDKs on your local.