yasirkula / UnityIonicIntegration

A guide to integrating Unity 3D content into an Ionic app and sending messages between them (for Android & iOS)(tested with Vuforia plugin)
104 stars 32 forks source link

On click app is crashing. openUnity() function is calling on button click. Using unity 2019.4.10f1 and gradle 6.5. with Ionic CLI 6.11.7 #68

Open GhoshKoushik opened 3 years ago

GhoshKoushik commented 3 years ago

2020-09-15 03:59:54.224 17359-17359/io.ionic.starter D/CordovaActivity: Paused the activity. 2020-09-15 03:59:54.236 17359-17359/io.ionic.starter I/chromium: [INFO:CONSOLE(39108)] "ERROR ReferenceError: process is not defined", source: http://localhost/vendor-es2015.js (39108) 2020-09-15 03:59:54.774 17359-17359/io.ionic.starter D/CordovaActivity: Stopped the activity. 2020-09-15 03:59:54.775 17359-17359/io.ionic.starter D/CordovaActivity: CordovaActivity.onDestroy() 2020-09-15 03:59:54.779 17359-17359/io.ionic.starter D/CordovaWebViewImpl: >>> loadUrl(about:blank) 2020-09-15 03:59:54.781 17359-17359/io.ionic.starter W/cr_AwContents: WebView.destroy() called while WebView is still attached to window. 2020-09-15 03:59:54.804 17359-17359/io.ionic.starter W/cr_AwContents: Application attempted to call on a destroyed WebView java.lang.Throwable at org.chromium.android_webview.AwContents.t(chromium-TrichromeWebViewGoogle.apk-stable-410410681:2) at Mt.loadingStateChanged(chromium-TrichromeWebViewGoogle.apk-stable-410410681:2) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:335) at android.os.Looper.loop(Looper.java:183) at android.app.ActivityThread.main(ActivityThread.java:7656) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) 2020-09-15 03:59:54.809 17359-17359/io.ionic.starter E/chromium: [ERROR:aw_browser_terminator.cc(125)] Renderer process (17539) crash detected (code -1). 2020-09-15 03:59:59.434 17359-17374/io.ionic.starter W/System: A resource failed to call release. 2020-09-15 03:59:59.434 17359-17374/io.ionic.starter I/chatty: uid=10156(io.ionic.starter) FinalizerDaemon identical 1 line 2020-09-15 03:59:59.434 17359-17374/io.ionic.starter W/System: A resource failed to call release.