MoralisWeb3/unity-web3-game-kit

v1.2.10 WebGL Build not Connecting

newbiedev1 opened this issue · 9 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?

Moralis.mp4

Still same.

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:

Filmim.1.mp4
3.mp4

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

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

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

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

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.

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.

stale commented

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.