Unreal Runtime Wont Compile on UE 4.13.2

Discuss issues pertaining to the various game/web runtimes of Creature here.
Post Reply
MindSpunk
Posts: 2
Joined: Wed Jan 25, 2017 12:41 am

Unreal Runtime Wont Compile on UE 4.13.2

Post by MindSpunk » Wed Jan 25, 2017 12:50 am

Im having problems getting the current github Unreal Engine runtime to compile. When using UE 4.13.2 it will fail to compile the modules with this error

Code: Select all

Running G:/UnrealEngine/Epic Games/4.13/Engine/Binaries/DotNET/UnrealBuildTool.exe SpaceCombatGameDemo Development Win64 -project="G:/Unreal Engine Development/Projects/SpaceCombatGameDemo/SpaceCombatGameDemo.uproject" -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
@progress pop
Performing 3 actions (4 in parallel)
Module.CreaturePlugin.cpp
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureCore.cpp(116): error C2838: 'EditorPreview': illegal qualified name in member declaration
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureCore.cpp(116): error C2065: 'EditorPreview': undeclared identifier
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureMeshComponent.cpp(449): error C2838: 'EditorPreview': illegal qualified name in member declaration
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureMeshComponent.cpp(449): error C2065: 'EditorPreview': undeclared identifier
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureMeshComponent.cpp(1005): error C2838: 'EditorPreview': illegal qualified name in member declaration
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureMeshComponent.cpp(1005): error C2065: 'EditorPreview': undeclared identifier
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureMeshComponent.cpp(1006): error C3536: 'not_editor_mode': cannot be used before it is initialized
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureMeshComponent.cpp(1084): error C2838: 'EditorPreview': illegal qualified name in member declaration
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureMeshComponent.cpp(1084): error C2065: 'EditorPreview': undeclared identifier
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureMeshComponent.cpp(1085): error C3536: 'not_editor_mode': cannot be used before it is initialized
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CustomProceduralMeshComponent.cpp(688): error C2838: 'EditorPreview': illegal qualified name in member declaration
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CustomProceduralMeshComponent.cpp(688): error C2065: 'EditorPreview': undeclared identifier
G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CustomProceduralMeshComponent.cpp(689): error C3536: 'not_editor_mode': cannot be used before it is initialized
ERROR: UBT ERROR: Failed to produce item: G:\Unreal Engine Development\Projects\SpaceCombatGameDemo\Plugins\CreaturePlugin\Binaries\Win64\UE4Editor-CreaturePlugin.dll
It will compile under 4.14, but I can't use 4.14 due to a bug introduced in that version of Unreal Engine where dynamic lights do not work in an orthographic viewport. I'm going to guess that the current form of the plugin on github just doesn't support 4.13 and I need to use an older version. I used the CreatureEditorAndPlugin version.

chong
Posts: 1178
Joined: Thu Feb 19, 2015 2:21 am

Re: Unreal Runtime Wont Compile on UE 4.13.2

Post by chong » Wed Jan 25, 2017 2:24 am

Hello,

Yes you are going to have to roll back a couple versions in git for the UE4 plugin.
Unfortunately Epic changed their API for UE4.14 so we had to fix the issue on our end as well to make it compatible with their latest Engine release.

Cheers

MindSpunk
Posts: 2
Joined: Wed Jan 25, 2017 12:41 am

Post by MindSpunk » Wed Jan 25, 2017 5:18 am

Ah that's alright then. Shouldn't cause any major issues from bugs that wont be patched I hope, and as a last resort there's always the fbx exporter.

Thanks for the help though

Alan
Posts: 7
Joined: Thu Mar 31, 2016 7:37 pm

Re: Unreal Runtime Wont Compile on UE 4.13.2

Post by Alan » Tue Jan 31, 2017 6:54 pm

This is possible to have a fix to make the UE4 runtime works in 4.15 preview 2?

chong
Posts: 1178
Joined: Thu Feb 19, 2015 2:21 am

Re: Unreal Runtime Wont Compile on UE 4.13.2

Post by chong » Tue Jan 31, 2017 11:09 pm

Hello,

We will have to wait for the stable version of 4.15 to be published before we make it build with 4.15. The officially supported Creature UE4 runtime coincides with the official release of UE4 ( which is 4.14 )

Cheers

Alan
Posts: 7
Joined: Thu Mar 31, 2016 7:37 pm

Re: Unreal Runtime Wont Compile on UE 4.13.2

Post by Alan » Wed Feb 15, 2017 8:42 pm

Yay 4.15 is out! Finally we can play with it :)

chong
Posts: 1178
Joined: Thu Feb 19, 2015 2:21 am

Re: Unreal Runtime Wont Compile on UE 4.13.2

Post by chong » Wed Feb 15, 2017 9:24 pm

I will be looking into updating it for UE4.15 very soon.
Stay tuned.

Cheers

Post Reply