Using BuildGraph to create a local binary build of the engine fails if the BuildConfiguration.xml file has bUseUnityBuild and bUsePCHFiles both set to false. The build fails due to some missing Json includes.
<?xml version="1.0" encoding="utf-8" ?> <Configuration xmlns="https://www.unrealengine.com/BuildConfiguration"> <BuildConfiguration> <bUseUnityBuild>false</bUseUnityBuild> <bUsePCHFiles>false</bUseSharedPCHs> </BuildConfiguration> </Configuration>
RESULT:
The build will fail with several undeclared identifier errors (see attached log).
EXPECTED:
The build completes successfully.
WORKAROUND:
Adding the following includes to Engine\Plugins\Online\OnlineSubsystem\Source\Private\OnlineSubsystemImpl.cpp allows the build to complete successfully:
#include "Dom/JsonObject.h" #include "Dom/JsonValue.h" #include "Serialization/JsonReader.h" #include "Serialization/JsonSerializer.h"
Hey, why do i get this when i snap two similar meshes together?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
I am not able to find world outliner how to enable it?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-46444 in the post.
0 |
Component | UE - Online |
---|---|
Affects Versions | 4.16.1 |
Target Fix | 4.18 |
Created | Jun 23, 2017 |
---|---|
Resolved | Jul 7, 2017 |
Updated | Oct 28, 2022 |