PlayscapeManager 不会在 android 台设备上初始化
PlayscapeManager won't initialize on android device
我在 adb logcat 中没有收到任何错误或调试消息。
但是如果我试图按下目录(更多游戏)按钮,我得到:
I/Unity (16917): AndroidJavaException:
java.lang.NullPointerException: Attempt to invoke interface method
'void
java.util.concurrent.ExecutorService.execute(java.lang.Runnable)' on a
null object reference I/Unity (16917): at
UnityEngine.AndroidJNISafe.CheckException () [0x00000] in :0 I/Unity (16917): at
UnityEngine.AndroidJNISafe.CallVoidMethod (IntPtr obj, IntPtr
methodID, UnityEngine.jvalue[] args) [0x00000] in :0
I/Unity (16917): at UnityEngine.AndroidJavaObject._Call
(System.String methodName, System.Object[] args) [0x00000] in
:0 I/Unity (16917): at
UnityEngine.AndroidJavaObject.Call (System.String methodName,
System.Object[] args) [0x00000] in :0 I/Unity
(16917): at Playscape.Internal.PlayscapeCatalogAndroid.showCatalog
() [0x00000] in :0 I/Unity (16917): at
Playscape.Catalog.Catalog.showCatalog () [0x00000] in :0 I/Unity (16917): at PlayscapeCatalog.ShowCatalog ()
[0x00000] in :0 I/Unity (16917):
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
I/Unity (16917): UnityEngine.GameObject:SendMessage(Strin
有人知道它是什么吗?就像 PlayscapeManager 没有初始化一样,
但是我试过把它放在更多的场景中,但还是不行。
当我播放它时,我可以在编辑器中看到它有效,但在 phone 上却没有。
我设法通过更新 SDK 和制作新的 google 播放服务 JAR 来解决我的问题.
我在 adb logcat 中没有收到任何错误或调试消息。 但是如果我试图按下目录(更多游戏)按钮,我得到:
I/Unity (16917): AndroidJavaException: java.lang.NullPointerException: Attempt to invoke interface method 'void java.util.concurrent.ExecutorService.execute(java.lang.Runnable)' on a null object reference I/Unity (16917): at UnityEngine.AndroidJNISafe.CheckException () [0x00000] in :0 I/Unity (16917): at UnityEngine.AndroidJNISafe.CallVoidMethod (IntPtr obj, IntPtr methodID, UnityEngine.jvalue[] args) [0x00000] in :0 I/Unity (16917): at UnityEngine.AndroidJavaObject._Call (System.String methodName, System.Object[] args) [0x00000] in :0 I/Unity (16917): at UnityEngine.AndroidJavaObject.Call (System.String methodName, System.Object[] args) [0x00000] in :0 I/Unity
(16917): at Playscape.Internal.PlayscapeCatalogAndroid.showCatalog () [0x00000] in :0 I/Unity (16917): at Playscape.Catalog.Catalog.showCatalog () [0x00000] in :0 I/Unity (16917): at PlayscapeCatalog.ShowCatalog () [0x00000] in :0 I/Unity (16917): UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions) I/Unity (16917): UnityEngine.GameObject:SendMessage(Strin
有人知道它是什么吗?就像 PlayscapeManager 没有初始化一样, 但是我试过把它放在更多的场景中,但还是不行。
当我播放它时,我可以在编辑器中看到它有效,但在 phone 上却没有。
我设法通过更新 SDK 和制作新的 google 播放服务 JAR 来解决我的问题.