gree / gree/unity-webview

Callbacks (OnLoaded, OnStarted, OnError etc.) are not getting called on WebGL build

Open
#585 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C++
Stars
2.7k
Forks
734
Avg merge
11h 39m
Merged PRs (30d)
1

Description

Hi,

First of all, thanks for this plugin. I have installed this plugin and hooked it into my already existing WebView system that was working on iOS/Android for year and on editor I have tested it and it works great, I get all callbacks from my current web view HTMLs and they act just like they should.

However as soon as I deploy it to a WebGL build, callbacks stops working, this applies to sample.html provided as well, it gets OnJS callback properly but all other callbacks like OnLoaded (which I was depending upon on my current HTML's since I check the URL that it tries to load i.e myHtml.html?close, myHtml.html?move) are not getting called at all.

Is there something I'm missing?

Thanks in advance

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the provided sample.html in a WebGL build, comparing the working OnJS callback with OnLoaded, OnStarted, and OnError. Trace the WebGL callback path and verify that the callbacks fire as expected, including the URL values used by the existing HTML integrations.

Written by the indexing model from the issue text.

Assessment

Tech stack
unity
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.