web3.unity icon indicating copy to clipboard operation
web3.unity copied to clipboard

Ramp not working in SampleMain scene

Open juans-chainsafe opened this issue 1 year ago • 2 comments

Describe the bug Ramp Exchanger section is not working in SampleMain scene when you try to click any of the buttons. But is working correctly in SampleRampIntegration scene

Steps Steps to reproduce the behavior:

  1. Use the scene [SampleLogin or SampleLogin - Web3Auth]
  2. Login with [Web3Auth or Remote wallet]
  3. Try to click on "Try On Ramp" or "Try Off ramp"

Expected behavior Ramp modal is open

Console errors There are not console errors, nothing happens when you click the button

Screenshots/Video Screenshot 2024-02-29 at 13 31 20

Desktop (please complete the following information):

  • Chainsafe SDK version: [main branch using Package manager with Git URL]
  • Unity Version: [e.g., 2022.1]
  • Operating System: [Mac]
  • Platform: [WebGL]

Additional context

  • Working correctly in SampleRampIntegration scene, the problem is with SampleMain scene

juans-chainsafe avatar Feb 29 '24 16:02 juans-chainsafe

Issue not happening anymore in main branch and 2021 Unity version

juans-chainsafe avatar May 07 '24 12:05 juans-chainsafe

My bad, I forget that this issue happens using Package manager with Git URL and not using UnitySampleProject

juans-chainsafe avatar May 07 '24 12:05 juans-chainsafe

@juans-chainsafe no PR but check it out. Now it should work. @rob1997 also removed rampsample scene :)

kantagara avatar May 29 '24 09:05 kantagara

@juans-chainsafe no PR but check it out. Now it should work. @rob1997 also removed rampsample scene :)

Ramp is working again in WebGL with Package manager! I used dev branch, but I see the SampleRampIntegration scene, is not removed apparently, unless is in a different PR.

Screenshot 2024-05-29 at 10 45 47 AM

juans-chainsafe avatar May 29 '24 13:05 juans-chainsafe