Describe the bug
The BalanceOfBatch inside ERC-1155 samples is not working with any login methods in the editor and WebGL
Steps
Steps to reproduce the behavior:
- Use any login method
- Click on BalanceOfBatch sample in ERC1155 section
Expected behavior
Array with the balances is displayed
Console errors
NullReferenceException: Object reference not set to an instance of an object
Erc1155Calls.BalanceOfBatch () (at Assets/Samples/web3.unity SDK/2.6.0/Web3.Unity Samples/Scripts/Scenes/SampleMain/Erc1155/Erc1155Calls.cs:90)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <606c2e0a56af495988c860a4ac613e74>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:153)
UnityEngine.UnitySynchronizationContext.Exec () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:83)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:107)
Desktop (please complete the following information):
- Chainsafe SDK version: [dev]
- Unity Version: [e.g., 2022.3.44]
- Operating System: [Mac]
Describe the bug
The BalanceOfBatch inside ERC-1155 samples is not working with any login methods in the editor and WebGL
Steps
Steps to reproduce the behavior:
Expected behavior
Array with the balances is displayed
Console errors
Desktop (please complete the following information):