Unity 2020.3.30f1
PicoXR Plugin 1.2.4
PUI 4.0.7
Hi all,
im trying to update the screen off delay property following the docs.
In PXR_System.cs there is an InitSystemService method which is calling
PXR_Plugin.System.UPxr_InitBatteryVolClass()
what is it for?
This call results a crash for me.
If Im commenting out this line the service initialization call seems to run fine, but after that when i try to bind the service with
PXR_System.BindSystemService()
im getting a
AndroidJavaException: java.lang.NullPointerException: Attempt to
invoke virtual method 'java.lang.String
android.content.Context.getPackageName()' on a null object reference
Which refers to a line
at com.pvr.tobservice.ToBServiceHelper.bindTobService(ToBServiceHelper.java:65)
Why am I getting null for the context here?
thanks,
G-