UpgradeManager issue with Unity 5.6
PlayerSettings Validation: Requested build target group (27) doesn't exist; #define symbols for scripting won't be added.
UnityEditor.PlayerSettings:SetScriptingDefineSymbolsForGroup(BuildTargetGroup, String)
I2.Loc.UpgradeManager:EnablePluginsOnPlatform(BuildTargetGroup) (at Assets/Plugins/I2/Localization/Scripts/Editor/UpgradeManager.cs:112)
I2.Loc.UpgradeManager:EnablePlugins(Boolean) (at Assets/Plugins/I2/Localization/Scripts/Editor/UpgradeManager.cs:83)
I2.Loc.UpgradeManager:CheckPlugins(Boolean) (at Assets/Plugins/I2/Localization/Scripts/Editor/UpgradeManager.cs:32)
I2.Loc.UpgradeManager:AutoCheckPlugins() (at Assets/Plugins/I2/Localization/Scripts/Editor/UpgradeManager.cs:21)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
I'm not sure what to do or check to fix it.
Please Log in or Create an account to join the conversation.
If I open the Unity build popup, Switch is not listed there.
But the same doesn't apply to other targets that are not listed and are not rising any errors.
Please Log in or Create an account to join the conversation.
I'm releasing a proper fix in the next beta, but for now, a workaround is to skip that platform:
In the file Assets\I2\Localization\Scripts\Editor\UpgradeManager.cs line 81, add the condition target != BuildTargetGroup.Switch
like this:
foreach (BuildTargetGroup target in System.Enum.GetValues(typeof(BuildTargetGroup)))
if (target!=BuildTargetGroup.Unknown && !target.HasAttributeOfType<System.ObsoleteAttribute>() && target != BuildTargetGroup.Switch)
{
EnablePluginsOnPlatform( target );
}
Hope that helps,
Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Please Log in or Create an account to join the conversation.