Please help, anyone. These last two little errors are preventing me from packaging and it’s been driving me crazy for days now. My project is BP-based and I have hundreds of nodes and functions that compile and package fine, except for one place where I use UE4’s ListView’s SetListItems node and another where I use the basic ArraySwap node (could likely get by without the ArraySwaps). The function containing the SetListItems node is in a BPFunctionLibrary, and it also executes a RegenerateAllEntries node. All it does is those two nodes. I’m not sure, but the issue seems to be with the nativized code having access to a private member of UListItem. I’ve looked at the code in VS, but am not sure what to do. It’s critical that I keep this function, as the game wouldn’t be playable without it. If anyone knows of a workaround, or how to fix the access problem, I’d be very grateful. I’ve thought about trying to recreate the same function with a C++ (static?) function, and maybe expose it to blueprints for calling, but I’m not confident with C++, and I’m afraid I’d break more things. If someone could show me an easy way to recreate the function with C++, I’d be willing to try that as well. Thanks in advance.
Here are, I think, all the relevant lines from the packaging output log. I can post more if need be:
UATHelper: Packaging (Windows (64-bit)): [5/53] Module.NativizedAssets.18_of_30.cpp
UATHelper: Packaging (Windows (64-bit)): C:/Users/Javeed/Desktop/Aldoreen/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/LogicxRefreshUI__pfG1010915279.cpp(1986): error C2248: ‘UListView::BP_SetListItems’: cannot access private member declared in class ‘UListView’
UATHelper: Packaging (Windows (64-bit)): C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\UMG\Public\Components/ListView.h(229): note: see declaration of ‘UListView::BP_SetListItems’
UATHelper: Packaging (Windows (64-bit)): C:\Users\Javeed\Desktop\Aldoreen\Intermediate\Plugins\NativizedAssets\Windows\Game\Intermediate\Build\Win64\UE4\Inc\NativizedAssets\LogicxCombatEvents__pfG1010915279.generated.h(11): note: see declaration of ‘UListView’
UATHelper: Packaging (Windows (64-bit)): C:/Users/Javeed/Desktop/Aldoreen/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/PlayerCreaturesDisplay__pf1489439355.cpp(1024): error C2039: ‘Array_Swap’: is not a member of ‘FCustomThunkTemplates’
UATHelper: Packaging (Windows (64-bit)): C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Public\GeneratedCodeHelpers.h(86): note: see declaration of ‘FCustomThunkTemplates’
UATHelper: Packaging (Windows (64-bit)): C:/Users/Javeed/Desktop/Aldoreen/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/PlayerCreaturesDisplay__pf1489439355.cpp(1024): error C3861: ‘Array_Swap’: identifier not found