Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing Microsoft Xbox's build targets (using in 2020.3.x and higher) #711

Open
5 tasks done
am1goo opened this issue Jan 11, 2024 · 1 comment
Open
5 tasks done
Labels

Comments

@am1goo
Copy link

am1goo commented Jan 11, 2024

Checklist

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

  • Unity Editor Version: 2020.3.48f1
  • Unity SDK Version: 16.0.2
  • Installation Platform & Verison: GameCoreScarlett|GameCoreXboxSeries|GameCoreXboxOne version 2020.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 values

Actual Results

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)

Steps to Reproduce

  1. get XBOX@ID account
  2. download and install Xbox GameCore module, install latest version of Facebook SDK for Unity
  3. run project with empty scene

Code Samples & Details

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
}
@am1goo am1goo added the bug label Jan 11, 2024
@am1goo
Copy link
Author

am1goo commented Jan 11, 2024

I've made Pull Request with fix #710

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant