Open oskar-ziller opened 6 months ago
Hi @oskar-ziller!
As for App Crashes After Wallet Connection and Message Signing: this is strange behaviour but if you try to build app in targeted Unity version 2022.3.5f1
this problem will not be reproduced.
As for standalone builds, we decided do not support any platform except of WebGL therefore QRCode on WebGL side generated with JavaScript without issues.
Expanded docs for signing, backend api and for NFT manging explanation are added.
Bug Reports:
Bug 1: App Crashes After Wallet Connection and Message Signing
Description: The app crashes consistently upon connecting a wallet and signing the message. This issue appears to be related to the retrieval and deserialization of tokens for a contract. On the first app launch and login, the crash occurs right after signing in. On subsequent launches, the crash happens as soon as the game loads, likely because it attempts to fetch contract details while already connected.
Steps to Reproduce:
Console output:
Bug 2: QR Code Unreadable in Standalone Builds Due to Graphics Settings
Description: The QR code is unreadable in standalone builds, likely due to the graphics quality settings which default to low.
Bug 3: iOS/MacOS Builds Fail
Description: MacOS builds are currently failing. The issue seems related to JavaScript functions that are not properly encapsulated with
#if UNITY_WEBGL
preprocessor directives. There should be empty stub functions for non-WebGL platforms. I couldn;t test on Android platforms.Screenshot:
Example Fix: Code snippet for WebGL context
Request for Expanded Documentation
Could you provide more detailed documentation on the following topics:
/game/boss/kill/
is processed behind the scenes.GameParameters
structure is incorporated into the NFTs.