Error generating visual studio files

When trying to run the unreal gallery demo I get the following error running Unreal 5.0.3:

Some Platforms were skipped due to invalid SDK setup: IOS, Android, Linux, LinuxArm64.
See the log file for detailed information

Discovering modules, targets and source code for project...
Compiled assembly file 'E:\Evil Corp Steam Game\InWorld Demo\Intermediate\Build\BuildRules\InworldGalleryModuleRules.dll' appears to be for a newer CLR version or is otherwise invalid. Unreal Build Tool will try to recompile this assembly now. (Exception: Could not load file or assembly 'E:\Evil Corp Steam Game\InWorld Demo\Intermediate\Build\BuildRules\InworldGalleryModuleRules.dll'. Format of the executable (.exe) or library (.dll) is invalid.)
E:\Evil Corp Steam Game\InWorld Demo\Source\InworldGallery.Target.cs(13,3): error CS0103: The name 'IncludeOrderVersion' does not exist in the current context
E:\Evil Corp Steam Game\InWorld Demo\Source\InworldGallery.Target.cs(13,25): error CS0103: The name 'EngineIncludeOrderVersion' does not exist in the current context
E:\Evil Corp Steam Game\InWorld Demo\Source\InworldGalleryEditor.Target.cs(13,3): error CS0103: The name 'IncludeOrderVersion' does not exist in the current context
E:\Evil Corp Steam Game\InWorld Demo\Source\InworldGalleryEditor.Target.cs(13,25): error CS0103: The name 'EngineIncludeOrderVersion' does not exist in the current context
ERROR: Expecting to find a type to be declared in a target rules named 'InworldGalleryTarget'. This type must derive from the 'TargetRules' type defined by Unreal Build Tool.

Hello,
The Inworld Gallery project is UE 5.1+
The Inworld plugin supports UE 5.0.3 and can be used in your own 5.0.3 projects, but the Gallery Demo project contains newer 5.1 only features.
Please utilize UE 5.1 for the gallery project.

1 Like