magicblock-labs / magicblock-labs/Solana.Unity-SDK
[Bug] NullReferenceException: Object reference not set to an instance of an object in CreateNFT method
- Dominant language
- C#
- Stars
- 199
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Trying in devnet, 0.7 SOL balanced wallet. Succesfully uploads metadata. But after I click Deploy button when I want to use Candy Machine. It gives null reference error.
**To Reproduce**
Steps to reproduce the behavior:
Create your candy machine and start to deploy after uploaded assets.
**Expected behavior**
Should deploy succesfully with valid wallet, in devnet.
**Screenshots**

**Desktop (please complete the following information):**
- OS Windows
- Solana Unity SDK Version 1.2.5
- Unity Version 2023.2.20f1
Contributor guide
Research direction
Reproduce the deployment flow in Unity 2023.2.20f1 using Solana Unity SDK 1.2.5, a devnet wallet, and uploaded assets. Start at the CreateNFT method and inspect the failing deployment path for the null reference. Done means creating a candy machine and deploying successfully on devnet with a valid wallet.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- blockchain, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100