Facebook-sdk-for-unity: SDK ๊ฐ€์ ธ์˜ค๊ธฐ ์‹œ ์ถฉ๋Œ(Unity 2019.3.0f3)

์— ๋งŒ๋“  2020๋…„ 01์›” 05์ผ  ยท  4์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: facebook/facebook-sdk-for-unity

Facebook SDK 7.18.0(๊ณต์‹ ์›น์‚ฌ์ดํŠธ์—์„œ ๋‹ค์šด๋กœ๋“œ)์„ ๋นˆ Unity 2019.3.0f3 ํ”„๋กœ์ ํŠธ๋กœ ๊ฐ€์ ธ์˜ค๋ฉด ๋‹ค์Œ ์˜ค๋ฅ˜์™€ ํ•จ๊ป˜ ์ถฉ๋Œ์ด ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

ArgumentException: Requested value 'X86' was not found.
System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Enum.Parse (System.Type enumType, System.String value) (at <437ba245d8404784b9fbab9b439ac908>:0)
GooglePlayServices.AndroidAbis.EnumValueStringToULong (System.Type enumType, System.String enumValueString) (at /Users/smiles/dev/src/unity-jar-resolver/source/PlayServicesResolver/src/AndroidAbis.cs:182)
GooglePlayServices.AndroidAbis.get_Current () (at /Users/smiles/dev/src/unity-jar-resolver/source/PlayServicesResolver/src/AndroidAbis.cs:241)
GooglePlayServices.PlayServicesResolver.PollAndroidAbis () (at /Users/smiles/dev/src/unity-jar-resolver/source/PlayServicesResolver/src/PlayServicesResolver.cs:1126)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvoke (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:310)

๋˜ํ•œ ํ”„๋กœ์ ํŠธ๋ฅผ ์—ด๋ ค๊ณ  ํ•  ๋•Œ๋งˆ๋‹ค ๊ทธ๋ฆฌ๊ณ  ์˜ค๋ž˜๋œ API๋ฅผ ์—…๋ฐ์ดํŠธํ•˜๋ ค๊ณ  ์‹œ๋„ํ•˜๋Š”์ง€ ์—ฌ๋ถ€์— ๊ด€๊ณ„์—†์ด ์ถฉ๋Œํ•ฉ๋‹ˆ๋‹ค.

์ด์— ๋Œ€ํ•œ ์ˆ˜์ • ์‚ฌํ•ญ์ด ์žˆ์Šต๋‹ˆ๊นŒ?

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

@rahil-p ๋•๋ถ„์— ์ถฉ๋Œ์ด ํ•ด๊ฒฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค! ๊ทธ๋Ÿฌ๋‚˜ ์ œ๊ณต๋œ MainMenu ์žฅ๋ฉด์„ ๋นŒ๋“œํ•˜๋ ค๊ณ  ํ•˜๋ฉด ๋‹ค์Œ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

Error building Player: Component GUI Layer in Main Camera for Scene Assets/FacebookSDK/Examples/MainMenu.unity is no longer available.
It will be removed after you edit this GameObject and save the Scene.

์–ด๋–ค ํฌ์ธํ„ฐ?

๋ชจ๋“  4 ๋Œ“๊ธ€

SDK๊ฐ€ ๊ณ„์† ์—…๋ฐ์ดํŠธ๋˜๊ณ  ์žˆ๋Š”์ง€ ์—ฌ๋ถ€๋Š” ํ™•์‹คํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋‹น์‹ ์€ Windows ๋˜๋Š” Mac์— ์žˆ์Šต๋‹ˆ๊นŒ?

OS X 10.15.1.

์•ˆํƒ€๊น๋„ค์š”... REST API ๋ง๊ณ  ๋‹ค๋ฅธ ๋Œ€์•ˆ์ด ์—†์„๊นŒ์š”?

@michelleran ๋‚˜๋Š” ๋ฌธ์ œ๊ฐ€ PlayServicesResolver ํ•˜์œ„ ๋””๋ ‰ํ† ๋ฆฌ์—์„œ ๋น„๋กฏ๋œ ๊ฒƒ์ด๋ผ๊ณ  ์ƒ๊ฐํ•ฉ๋‹ˆ๋‹ค. Facebook Unity SDK v7.18์€ ํ˜„์žฌ Play Services Resolver v1.2.95๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค(https://github.com/facebook/facebook-sdk-for-unity/commit/17849bc0d9352a82538ffc72b73e7d490953aeff ์ปค๋ฐ‹). ๋ฆฌ์กธ๋ฒ„๋ฅผ v1.2.116+๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๋ฉด ๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋ฉ๋‹ˆ๋‹ค.

์ด๊ฒƒ์€ ๋‹น์‹ ์—๊ฒŒ ๋„์›€์ด ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค.

  1. Facebook Unity SDK๋กœ ๊ฐ€์ ธ์˜จ PlayServicesResolver ํด๋”๋ฅผ ์‚ญ์ œํ•ฉ๋‹ˆ๋‹ค.
  2. ์ตœ์‹  Play Services Resolver ํŒจํ‚ค์ง€(์˜ˆ: v1.2.135 )๋ฅผ ๋‹ค์šด๋กœ๋“œํ•˜๊ณ  ํ”„๋กœ์ ํŠธ๋กœ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค.

@rahil-p ๋•๋ถ„์— ์ถฉ๋Œ์ด ํ•ด๊ฒฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค! ๊ทธ๋Ÿฌ๋‚˜ ์ œ๊ณต๋œ MainMenu ์žฅ๋ฉด์„ ๋นŒ๋“œํ•˜๋ ค๊ณ  ํ•˜๋ฉด ๋‹ค์Œ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

Error building Player: Component GUI Layer in Main Camera for Scene Assets/FacebookSDK/Examples/MainMenu.unity is no longer available.
It will be removed after you edit this GameObject and save the Scene.

์–ด๋–ค ํฌ์ธํ„ฐ?

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰