Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentNullException when building WebGL #4

Open
tiennvsolar opened this issue May 7, 2024 · 30 comments
Open

ArgumentNullException when building WebGL #4

tiennvsolar opened this issue May 7, 2024 · 30 comments

Comments

@tiennvsolar
Copy link

I'm using unity to build webgl, but when connecting to tonkeeper I get this error. How can I fix it?
image

  • I'm using TC_minimal build, .net standard 2.1, compression format disable
  • When connecting to tonkeeper, i got qr code with parameter r={}. I fix that url and got above error
@tiennvsolar
Copy link
Author

@tiennvsolar
Copy link
Author

This is my code for generating QR
image
If i use defaultUrlNotFix, it will cause error string pattern. The demo project also has the same problem.
Both work very well in unity editor. But error when build to WebGL
image

@tiennvsolar
Copy link
Author

The demo project which i talk about is unity-ton-connect. When i build to webgl, If i use web tonkeeper from telegram, i cause error string pattern. If i use tonkeeper app from applestore, it'll cause ArgumentNullException. Here is unity-ton-connect repo build
image

@tiennvsolar
Copy link
Author

It works very well in unity editor, only error when i build to webgl

@tiennvsolar
Copy link
Author

This is my manifest: https://pub-5113f1001b074287b5d93bf0917f2da0.r2.dev/mainfest.json
Build settings:
image
image
image
image
image

@tiennvsolar
Copy link
Author

Yeah. I have just clone and set default config. It works but only with tonkeeper application in appstore. Both mainet and testnet are not woking, stuck at qr scan screen

@tiennvsolar
Copy link
Author

Yes, I'm just clone and click build and run

@tiennvsolar
Copy link
Author

Tonkeeper app download from apple store is working well but Tonkeeper web from telegram not working

@tiennvsolar
Copy link
Author

Thank you but there is no difference from before. It's still stuck at scan qr code screen

@tiennvsolar
Copy link
Author

tiennvsolar commented May 7, 2024

https://github.com/continuation-team/unity-ton-connect/assets/74697768/9a6e4689-4ef1-495d-a554-585d2a1a5aa8
Here, if i use telegram tonkeeper, it'll be stuck at this screen

@tiennvsolar
Copy link
Author

I just use two tonkeeper
Telegram tonkeeper is not working
This tonkeeper works well: https://apps.apple.com/us/app/tonkeeper-ton-wallet/id1587742107

@DavidNightinga1e
Copy link

I've had same isssue, fixed by disabling "Strip Engine Code" and setting "Managed Stripping Level" to "Minimal"
image

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

No branches or pull requests

3 participants
@DavidNightinga1e @tiennvsolar and others