본문 바로가기

카테고리 없음

[Unity3D] GMS 관련 에러

에러메세지 이해도 안되고 온리 구글링으로만 해결



■ 현상


12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: FATAL EXCEPTION: main

12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: Process: com.yonefactory.passingwatermelon, PID: 13651

12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: java.lang.IllegalStateException: A fatal developer error has occurred. Class name: zzf. Start service action: com.google.android.gms.games.service.START. Service Descriptor: com.google.android.gms.games.internal.IGamesService. 

12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: at com.google.android.gms.common.internal.BaseGmsClient$zza.zza(Unknown Source:20)

12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: at com.google.android.gms.common.internal.BaseGmsClient$zzc.zzo(Unknown Source:11)

12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: at com.google.android.gms.common.internal.BaseGmsClient$zzb.handleMessage(Unknown Source:48)

12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)

12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)

12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7002)

12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)

12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)

12-29 19:28:52.460 10255 13651 13651 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)



■ 해결


replace "\ " with "\u003

before : <meta-data android:name="com.google.android.gms.games.APP_ID" android:value="\ 232323232323" /> 

after :   <meta-data android:name="com.google.android.gms.games.APP_ID" android:value="\u003232323232323" />



■ 참조


https://github.com/playgameservices/play-games-plugin-for-unity/issues/2013