Skip to content

When Building from source, plugin does not Compile Correctly - UE 5.4 #48

@kapsy122021

Description

@kapsy122021

Hello, I am trying to compile this plugin for use in UE 5.4 and I keep getting this error when building through windows powershell:

_[9/19] Compile [x64] MqttUtilitiesBPL.cpp (0:05.26 at +0:00)
C:\Users\20036153\Documents\GitHub\UnrealEngine\Engine\Source\Runtime\CoreUObject\Public\UObject\ScriptInterface.h(27) : error C4702: unreachable code
inlined at C:\Users\20036153\Documents\GitHub\UnrealEngine\Engine\Source\Runtime\CoreUObject\Public\UObject\ScriptInterface.h(151)
inlined at C:\Users\20036153\Documents\GitHub\UnrealEngine\Downloads\HostProject\Plugins\MqttUtilities\Source\MqttUtilities\Private\MqttUtilitiesBPL.cpp(40) <call to TScriptInterface::TScriptInterface>
while compiling UMqttUtilitiesBPL::CreateMqttClient

Error executing C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\cl.exe (tool returned code: 2)_

For what it's worth, this is my first time having to build a plugin externally since it did not work after following the steps provided(Though it did work with UE 5.2, 5.0 and 4.27 for me). Any suggestions on how to resolve this?

MQTTissue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions