gree / gree/unity-webview

Blank white screen showing and url is not loading due to NullReferenceException

Open
#325 7 comments 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

I ran the sample project provided and it opens up the web view window but it is blank and url doesn't load.
The following error I'm getting on running adb DEBUG:
NullReferenceException: Object reference not set to an instance of an object at SampleWebView+c__Iterator0.<>m__0 (System.String msg)
at WebViewObject.CallFromJS (System.String message) [0x00000] in :0

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

Start by tracing the SampleWebView.Start iterator and the WebViewObject.CallFromJS call named in the stack trace. Reproduce the blank web view with the sample project and adb DEBUG output, then identify why the callback reaches a null object. Done means the URL loads without the reported NullReferenceException.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.