Skip to content

ArgumentException: The provided target platform group name () is not valid. When "Full Generation Enabled" Ubuntu. #161

@scranley

Description

@scranley

Ubuntu: 22.04.1 LTS
dotnet sdk 6.0
Windows x86 build.
Clean Unity project with just one scene and a cube.

ArgumentException: The provided target platform group name () is not valid.
UnityEditor.PlayerSettings.SetApiCompatibilityLevel (UnityEditor.Build.NamedBuildTarget buildTarget, UnityEditor.ApiCompatibilityLevel value) (at /home/bokken/buildslave/unity/build/Editor/Mono/PlayerSettings.bindings.cs:1091)
UnityEditor.PlayerSettings.SetApiCompatibilityLevel (UnityEditor.BuildTargetGroup buildTargetGroup, UnityEditor.ApiCompatibilityLevel value) (at /home/bokken/buildslave/unity/build/Editor/Mono/PlayerSettings.bindings.cs:895)
Microsoft.Build.Unity.ProjectGeneration.CompilationPlatformInfo.GetEditorPlatform () (at Library/PackageCache/com.microsoft.msbuildforunity@0.9.2-20211109.1/Editor/ProjectGenerator/Scripts/CompilationPlatformInfo.cs:71)
Microsoft.Build.Unity.ProjectGeneration.UnityProjectInfo..ctor (UnityEngine.ILogger logger, System.Collections.Generic.Dictionary`2[TKey,TValue] supportedBuildTargets, Microsoft.Build.Unity.ProjectGeneration.MSBuildToolsConfig config, System.Boolean performCompleteParse) (at Library/PackageCache/com.microsoft.msbuildforunity@0.9.2-20211109.1/Editor/ProjectGenerator/Scripts/UnityProjectInfo.cs:117)
Microsoft.Build.Unity.ProjectGeneration.MSBuildTools.RefreshGeneratedOutput (System.Boolean forceGenerateEverything, System.Boolean forceCompleteGeneration) (at Library/PackageCache/com.microsoft.msbuildforunity@0.9.2-20211109.1/Editor/ProjectGenerator/Scripts/MSBuildTools.cs:241)
Microsoft.Build.Unity.ProjectGeneration.MSBuildTools.ToggleAutoGenerate () (at Library/PackageCache/com.microsoft.msbuildforunity@0.9.2-20211109.1/Editor/ProjectGenerator/Scripts/MSBuildTools.cs:135)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions