Is Windows-IL2CPP build not installed?
Hi, thank you for your great work.
I'm using your image on my several OSS projects.
Now I'm trying to generate custom unit test, that run on CI(Linux-Mono)
and build exe for Windows(Win-IL2CPP)
.
This is the my try-result.
https://circleci.com/gh/Cysharp/RandomFixtureKit/77
Build Linux-Mono and run test on CI(src/RandomFixtureKit.Unity/bin/linux-x64/tests)
is fine.
But build windows(Build Windows(IL2CPP))
failed, this is log:
Error building Player: Currently selected scripting backend (IL2CPP) is not installed.
I've used 2019.1.0f2-windows
and 2018.3.12f1-windows
but both failed.
Here is the full config:
https://github.com/Cysharp/RandomFixtureKit/blob/cdcde61/.circleci/config.yml
image: gableroux/unity3d:2018.3.12f1-windows
command: /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod Exporter.BuildCliTestWindows
method details: (full code is here https://github.com/Cysharp/RandomFixtureKit/blob/cdcde61/src/RandomFixtureKit.Unity/Assets/Scripts/Exporter.cs )
PlayerSettings.SetScriptingBackend(BuildTargetGroup.Standalone, ScriptingImplementation.IL2CPP);
BuildPipeline.BuildPlayer(new BuildPlayerOptions
{
targetGroup = BuildTargetGroup.Standalone,
target = buildTarget,
options = BuildOptions.BuildScriptsOnly
| BuildOptions.EnableHeadlessMode
| BuildOptions.IncludeTestAssemblies,
scenes = new[] { "Assets/Scripts/RuntimeUnitTestToolkit/UnitTest.unity" },
locationPathName = $"bin/{outputPath}/tests" + ((buildTarget == BuildTarget.StandaloneWindows64) ? ".exe" : "")
});
Could you know any info?