Skip to content

Conversation

@GabrielePicco
Copy link
Collaborator

@GabrielePicco GabrielePicco commented Jul 1, 2023

Enhance NFT loading & Bug Fixes

Status Type ⚠️ Core Change Issue
Ready Enhance/Bug No -

Problem

  • Nfts loading failing with most RPCs due to rate limit
  • Due to a bug in Unity, Destroy was triggering an exception if exiting from play mode while the NFTs are still loading
  • Unused LoadJson method
  • sNFT were not displayed due to the check on amount == 1

Solution

  • Add a parameter to add a delay between calls (This is a temporary solution and will be superseded by Customizable Rate Limit #120 )
  • Add a Destroy with uses DestroyImmediate if the game is not running
  • Remove unused methods
  • Remove amount == 1 check

@GabrielePicco GabrielePicco merged commit e65f2b6 into main Jul 1, 2023
@GabrielePicco GabrielePicco deleted the enhance/nft-loading-6 branch July 1, 2023 10:29
GabrielePicco added a commit that referenced this pull request Jul 1, 2023
* ✨ Enhance NFT loading

* ✨ Reduce min delay
GabrielePicco added a commit that referenced this pull request Jul 1, 2023
* Add SessionWallet via Solana.Unity.Gum

* Add missing imports

* Add SessionWallet via Solana.Unity.Gum

* Add convenience methods

* Add XML comments

* Check if session token is initialized

* ⚡ Enhance NFT loading (#138)

* ✨ Enhance NFT loading (#141)

* ✨ Enhance NFT loading

* ✨ Reduce min delay

---------

Co-authored-by: abishekk92 <bhat.abishek@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant