Hi,
4.25 fails to nativize any Blueprint Actors with replicated values. This is a disaster! I tried to open a Bug report, but I cannot find the bug that I filed :s
Anyone knows a workaround?
The below steps produce:
- Create Empty project.
- Create BluePrint Actor, name it BP_zzz.
- In BP_zzz, set Replication->Replicates to “True” (Checked).
- In BP_zzz, add Integer Variable, name it IntVal.
- In BP_zzz, set the IntVal->Replication to “Replicates”.
- In BP_zzz, inside the EventGraph, add EventBeginPlay then connect the execution line to Set the IntVal to “100”.
- Create and Open New Level called L_zzz.
- Drag-drop to add BP_zzz actor to the L_zzz.
- Open project settings->Maps & Modes->Set Editor Startup Map and Game Default Map to L_zzz.
- Open project Settings->Packaging->Set Build Configuration to “Shipping”, Full Rebuild and For Distribution to “True”,
- Open Project Settings->Packaging->Blueprint Nativization Method to “Inclusive”.
- Create New C++ Class from PlayerController, name it CppMyPlayerController.
- File->Package Project->Windows (64-bit).
BUILD FAILED: Command failed (Result:10001): C:\Program Files (x86)\Xoreax\IncrediBuild\xgConsole.exe "C:\Users\...\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.25\UAT_XGE.xml" /Rebuild /NoLogo /ShowAgent /ShowTime /no_watchdog_thread. See logfile for details: 'xgConsole-2020.05.31-13.10.13.txt'
AutomationTool exiting with ExitCode=1 (Error_Unknown)
LOG:
** For zzzEmpty-Win64-Shipping
SharedPCH.Engine.ShadowErrors.cpp (0:43.17 at +0:00)
Module.NativizedAssets.cpp (0:28.29 at +0:43)
C:/Users/.../Documents/Unreal Projects/zzzEmpty/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/BP_zzz__pf1010915279.cpp(515): error C2248: 'UNetPushModelHelpers::MarkPropertyDirtyFromRepIndex': cannot access private member declared in class 'UNetPushModelHelpers'
C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime/Engine/Public/Net/NetPushModelHelpers.h(21): note: see declaration of 'UNetPushModelHelpers::MarkPropertyDirtyFromRepIndex'
C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime/Engine/Public/Net/NetPushModelHelpers.h(9): note: see declaration of 'UNetPushModelHelpers'