Open am1goo opened 9 months ago
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
2020.3.48f1
16.0.2
GameCoreScarlett|GameCoreXboxSeries|GameCoreXboxOne
Playing mode should be starter without any parsing errors in console
No parsing errors about Facebook.Unity.Settings.BuildTarget missing values
Facebook.Unity.Settings.BuildTarget
Exception about Facebook.Unity.Settings.BuildTarget missing values
ArgumentException: Requested value 'GameCoreScarlett' was not found. System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) (at <695d1cc93cca45069c528c15c9fdd749>:0) System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) (at <695d1cc93cca45069c528c15c9fdd749>:0) System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) (at <695d1cc93cca45069c528c15c9fdd749>:0) Facebook.Unity.Editor.PlayModeStateChanged.OnPlayModeStateChange (UnityEditor.PlayModeStateChange state) (at <d94eaa45a06f4a28b0b54293a88028d7>:0) UnityEditor.EditorApplication.Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange state) (at <25578071f6e44201aac745680e5c8dfc>:0)
public enum BuildTarget { StandaloneOSX, StandaloneWindows, iOS, Android, StandaloneWindows64, WebGL, WSAPlayer, StandaloneLinux64, PS4, XboxOne, tvOS, Switch, Stadia, CloudRendering, PS5, none, GameCoreScarlett, //<-- missing value GameCoreXboxSeries, //<-- missing value GameCoreXboxOne, //<-- missing value }
I've made Pull Request with fix https://github.com/facebook/facebook-sdk-for-unity/pull/710
Checklist
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
2020.3.48f1
16.0.2
GameCoreScarlett|GameCoreXboxSeries|GameCoreXboxOne
version2020.3.48f1
Goals
Playing mode should be starter without any parsing errors in console
Expected Results
No parsing errors about
Facebook.Unity.Settings.BuildTarget
missing valuesActual Results
Exception about
Facebook.Unity.Settings.BuildTarget
missing valuesSteps to Reproduce
Code Samples & Details