Comments (2)
Additional feedback from Samuel:
Context
Some Unity apps show a QR code IMAGE that is meant to be DETECTED by an unrelated mobile app (e.g. Web3 Wallet)
Issue
Sometimes the Unity app shows the IMAGE then removes it (a sign of proper DETECTION) in < 2 seconds. The user considers that success. However, sometimes the IMAGE is not removed ever (The user gives up after 15 seconds)
Possible Cause
The QR code IMAGE is not at 100% scale. If this is the cause, perhaps it prevents proper image DETECTION. Further complications of this are that perhaps the API generating the IMAGE does it at SOME scale, then the Unity canvas choose ANOTHER scale, then the Game View is set to yet ANOTHER scale, or in the case of a Unity build to device (ex. standalone or mobile) then there is yet ANOTHER scale introduced.
The QR code DETECTION algorithm (detection and/or communication between mobile and the app and any servers) is not stable. If this is the cause, perhaps the image is detected but some subsequent part of the operation fails or is unstable.
It is certainly possible that EITHER or BOTH 1 and 2 cause the issue. I haven't tested this scientifically with repeated systematic checks.
Workarounds
- At runtime, Ensure the Unity Game View Windows "Scale" slider is set to 100%. I've seen a non-100% value cause problems.
- At runtime, Slowly Unity Game View Windows "Scale" slider between 0 and 100%. I've seen some value (within 95-100%) work. I think this overcompensates for some complication of the scaling.
- I stop and start the mobile wallet. Sometimes I think this works. I haven't tested this scientifically.
- I stop and start the Unity app (stop/start the editor or close/open the build). Sometimes I think this works. I haven't tested this scientifically.
from tezos-unity-sdk.
Reproduced in Unity Player (inside editor) and in MacOS builds
from tezos-unity-sdk.
Related Issues (20)
- Error: Standalone IL2CPP build fails HOT 2
- Close Beacon database connections before app exit;
- Hande `GetOperationStatus` API method error case
- Add Beacon timeout callback for cases when the wallet doesn't respond HOT 2
- Render FA2 tokens on Demo example sample
- Undefined symbol errors when building to iOS
- WebGL staging during development [question] HOT 2
- Get coins not working in sample game HOT 1
- Feature: Store configuration in a ScriptableObject HOT 1
- 3.0.0: Broken in LinuxEditor HOT 1
- Silent Wallet Connection? HOT 4
- [TEST] Beacon login not working HOT 3
- There is no "Reject" event handler in SDK when payload is not signed from wallet HOT 1
- Add transfer, deploy and mint features on FA2 token contract
- Newtonsoft dependency missing on IOS HOT 4
- Marketplace is not getting loaded on WebGL HOT 2
- [WebGL] MichelinePrim serialization is not working properly on WebGL HOT 1
- Unable to find a constructor to use for type MatrixServerVersionsResponse HOT 2
- Feature: Contract Generator Tool for Custom Smart Contracts
- Game items transfer not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tezos-unity-sdk.