Skip to content

Unable to load project after adding a plugin project #3641

@envision3d

Description

@envision3d

Adding a plugin project to a project and reloading the project results in the following error:

[ 00:00:00.768 ]: [Info] Command: C:\Program Files (x86)/Flax/Flax_master/Binaries/Tools/Flax.Build.exe -log -logfile= -build -mutex -buildtargets=GameEditorTarget -skiptargets=FlaxEditor -platform=Windows -arch=x64 -configuration=Development
[ 00:00:00.809 ]: [Info] Flax.Build 1.0.0
[ 00:00:00.843 ]: [Info] Building targets...
[ 00:00:00.853 ]: [Info] Missing Android SDK. Cannot build for Android platform.
[ 00:00:00.861 ]: [Info] Missing Windows SDK. Cannot build for Windows platform.
[ 00:00:00.862 ]: [Info] Exception: Platform Windows has no required SDK installed and cannot be used.
Stack trace:
[ 00:00:00.867 ]: [Info]    at Flax.Build.Platform.GetToolchain(TargetArchitecture targetArchitecture) in D:\a\FlaxEngine\FlaxEngine\Source\Tools\Flax.Build\Build\Platform.cs:line 279
   at Flax.Build.Builder.BuildTargets() in D:\a\FlaxEngine\FlaxEngine\Source\Tools\Flax.Build\Build\Builder.cs:line 362
   at Flax.Build.Program.Main() in D:\a\FlaxEngine\FlaxEngine\Source\Tools\Flax.Build\Program.cs:line 152
Total time: 00:00:00.0681742
[ 00:00:00.873 ]: [Error] Failed to run build tool, result: 1

The original project doesn't seem to matter, nor does the plugin project. I've reproduced with existing projects and plugin projects, brand new blank project + brand new blank plugin project, etc.

The issue seems inconsistent, though, as Tryibion wasn't able to reproduce the issue. I don't have any firm evidence, but I don't have Visual Studio installed and I think that might be a part of the equation.

Environment:
Windows 11

Steps to reproduce:

  1. Create new Flax project or use existing (seems to not matter)
  2. Add existing or create new plugin project
  3. Restart editor
  4. Observe error message

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions