Building on macOS host, macOS target in current master (ee1c9f516a) results in Invalid expression term ')'
Open
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 2.7k
- Forks
- 734
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 1
Description
Errors so far:
Library/PackageCache/net.gree.unity-webview@ee1c9f516a/Assets/Plugins/WebViewObject.cs(366,16): error CS1525: Invalid expression term ')'
Library/PackageCache/net.gree.unity-webview@ee1c9f516a/Assets/Plugins/WebViewObject.cs(361,19): error CS7036: There is no argument given that corresponds to the required formal parameter 'separated' of 'WebViewObject._CWebViewPlugin_Init(string, bool, int, int, string, bool)'
Observe the syntax error:
webView = _CWebViewPlugin_Init(
name,
transparent,
Screen.width,
Screen.height,
ua,
#if UNITY_EDITOR
separated
#endif
);
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in Assets/Plugins/WebViewObject.cs around lines 361-366 and inspect the platform-conditional arguments at the _CWebViewPlugin_Init call. Reproduce the macOS-target build from the reported revision and compare the call with its required parameters. Done means the build no longer reports the listed CS1525 and CS7036 errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- desktop-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100