IanPhilips / UnityOculusAndroidVRBrowser

3D browser based on GeckoView and Oculus SDK for Unity projects built on Android (Oculus Go/Quest, maybe GearVR)
MIT License
225 stars 63 forks source link

No listener for GeckoView:ContentPermission #45

Closed luizcarlosfx closed 2 years ago

luizcarlosfx commented 2 years ago

I'm getting this error "No listener for GeckoView:ContentPermission" whenever I click in the page, then the app crashes

luizcarlosfx commented 2 years ago

2022/07/21 15:18:57.893 30782 30912 Error GeckoConsole [JavaScript Error: "Permission error: No listener for GeckoView:ContentPermission" {file: "resource://gre/modules/GeckoViewPermission.jsm" line: 272}] 2022/07/21 15:18:57.893 30782 30912 Error GeckoConsole prompt/<@resource://gre/modules/GeckoViewPermission.jsm:272:12

This is the full log

IanPhilips commented 2 years ago

Hey just so the next person can figure this out, I'm curious what did you have to do?

luizcarlosfx commented 2 years ago

Hey just so the next person can figure this out, I'm curious what did you have to do?

It was just a missing transform reference in the unity side. It's strange because reading the log it sounds like a native problem.