unity-web3-game-kit icon indicating copy to clipboard operation
unity-web3-game-kit copied to clipboard

v1.2.10 WebGL Build not Connecting

Open newbiedev1 opened this issue 2 years ago • 4 comments

I created new empty project and installed 1.2.10 game kit. Wallet connection is working perfectly on Unity Editor with metamask scanning. Unity version: 2021.3.9f1 apple silicon Game kit version: 1.2.10 After that, I switched target to WebGL. I changed to moraliswebgl template on Player settings. So i build webgl and open with chrome. No errors i have. But when i press connect button, connected my metamask wallet. But after connect wallet, there is only black screen. Is this normal?

https://user-images.githubusercontent.com/112906910/189605056-e5fcdfa6-0d8f-4cb5-ae64-88c8701ff91e.mp4

newbiedev1 avatar Sep 12 '22 08:09 newbiedev1

Still same.

newbiedev1 avatar Sep 13 '22 18:09 newbiedev1

My device: Macbook Air M2 Monterey 12.6 Unity Version: 2021.3.9f1 SILICON LTS Game kit version: 1.2.10 I created a new empty project and i changed to WebGL. After that, i installed moralisweb3sdk_v1_2_10.unitypackage file to my new empty project. image|690x395 After that:

https://user-images.githubusercontent.com/112906910/190520576-b59cc2c3-bf4f-45f3-bb16-e07c91bbb73c.mp4

https://user-images.githubusercontent.com/112906910/190520834-305cbbc5-e80b-457c-9726-869b98b7de02.mp4

newbiedev1 avatar Sep 15 '22 22:09 newbiedev1

Thanks for the detail information. Could you see if there are any errors in Chrome developer console? https://developer.chrome.com/docs/devtools/open/

KoenRijpstra avatar Sep 16 '22 13:09 KoenRijpstra

image

ArgumentNullException: Value cannot be null. Parameter name: obj at System.Threading.Monitor.ReliableEnterTimeout (System.Object obj, System.Int32 timeout, System.Boolean& lockTaken) [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown ---

_JS_Log_Dump @ Build.framework.js.br:3 $func12226 @ Build.wasm.br:0x397959 $func108019 @ Build.wasm.br:0x1a84acb $func49090 @ Build.wasm.br:0xdefba5 $func595 @ Build.wasm.br:0xb79d5 $func15837 @ Build.wasm.br:0x463faa $func1120 @ Build.wasm.br:0xc83e6 $func1696 @ Build.wasm.br:0xe4a71 $func110796 @ Build.wasm.br:0x1aeaee8 $func50797 @ Build.wasm.br:0xf881f8 $func50797 @ Build.wasm.br:0xf88269 $func49069 @ Build.wasm.br:0xded20d $wj @ Build.wasm.br:0x1a6580b browserIterationFunc @ Build.framework.js.br:3 callUserCallback @ Build.framework.js.br:3 runIter @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3 requestAnimationFrame (async) requestAnimationFrame @ Build.framework.js.br:3 Browser_mainLoop_scheduler_rAF @ Build.framework.js.br:3 Browser_mainLoop_runner @ Build.framework.js.br:3

newbiedev1 avatar Sep 19 '22 08:09 newbiedev1

Black screen problem is still same with v1.2.11. Problem not solved on WebGL Build.

newbiedev1 avatar Oct 05 '22 10:10 newbiedev1

Could you check if the x-parse-application-id header is getting send? Looks like the same problem as #125

KoenRijpstra avatar Oct 06 '22 08:10 KoenRijpstra

Could you check if the x-parse-application-id header is getting send? Looks like the same problem as #125

I found the problem about black screen Black screen issue persists on Apple Silicon Builds. Wallet link not working. But macbooks with Intel processors do not have such a problem. I tried your build on my macbook air m2 (apple silicon) and it has black screen problem issue. But i tried it with macbook pro that has intel processor, it is working perfectly.

newbiedev1 avatar Oct 06 '22 21:10 newbiedev1

Apple Silicon Build is working on Macbook Pro Intel. The problem is webgl build not working on Apple Silicon devices (Chrome and Firefox). If the click connect wallet, black screen problem i have.

newbiedev1 avatar Oct 12 '22 03:10 newbiedev1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 11 '22 04:12 stale[bot]