Cannot access private member declared in class 'UNetPushModelHelpers'

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:

  1. Create Empty project.
  2. Create BluePrint Actor, name it BP_zzz.
  3. In BP_zzz, set Replication->Replicates to “True” (Checked).
  4. In BP_zzz, add Integer Variable, name it IntVal.
  5. In BP_zzz, set the IntVal->Replication to “Replicates”.
  6. In BP_zzz, inside the EventGraph, add EventBeginPlay then connect the execution line to Set the IntVal to “100”.
  7. Create and Open New Level called L_zzz.
  8. Drag-drop to add BP_zzz actor to the L_zzz.
  9. Open project settings->Maps & Modes->Set Editor Startup Map and Game Default Map to L_zzz.
  10. Open project Settings->Packaging->Set Build Configuration to “Shipping”, Full Rebuild and For Distribution to “True”,
  11. Open Project Settings->Packaging->Blueprint Nativization Method to “Inclusive”.
  12. Create New C++ Class from PlayerController, name it CppMyPlayerController.
  13. 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'

Bump bump bump?

I have the same problem.

Same problem.

Hi, this has been fixed for the 4.25.2 release, but you can quickly solve the issue by removing the private: on line 18 of Engine\Public\Net\NetPushModelHelpers.h

Thank you for the reply. Will this work even with the engine that was downloaded via the Epic client? (NOT GitHub->SourceCode->compile)

I tested your suggestion, and I got this error:
UATHelper: Packaging (Windows (64-bit)): Creating library C:\Users*\Documents\Unreal Projects\NatMyProject\Binaries\Win64\NatMyProject-Win64-Shipping.lib and object C:\Users*\Documents\Unreal Projects\NatMyProject\Binaries\Win64\NatMyProject-Win64-Shipping.exp
UATHelper: Packaging (Windows (64-bit)): Module.NativizedAssets.cpp.obj : error LNK2019: unresolved external symbol "public: static void __cdecl UNetPushModelHelpers::MarkPropertyDirtyFromRepIndex(class UObject ,int,class FName)" (?MarkPropertyDirtyFromRepIndex@UNetPushModelHelpers@@SAXPEAVUObject@@HVFName@@@Z) referenced in function “public: void __cde
cl ABP_zzz_C__pf1010915279::bpf__ExecuteUbergraph_BP_zzz__pf_0(int)” (?bpf__ExecuteUbergraph_BP_zzz__pf_0@ABP_zzz_C__pf1010915279@@QEAAXH@Z)
UATHelper: Packaging (Windows (64-bit)): C:\Users*
\Documents\Unreal Projects\NatMyProject\Binaries\Win64\NatMyProject-Win64-Shipping.exe : fatal error LNK1120: 1 unresolved externals