Problem with nativizing bp's with c++ functions in them

I’m having an issue nativizing a bp with a c++ code function inside of it. The function is from a c++ bp library I wrote. it seems to not like the function in question but it works just fine in non nativized builds. any help would be appreciated.

LogUObjectHash: Compacting FUObjectHashTables data took  11.63ms
UATHelper: Packaging (Windows (64-bit)):     [4/57] Module.NativizedAssets.4_of_27.cpp
UATHelper: Packaging (Windows (64-bit)):     [5/57] Module.AdvancedSessions.cpp
UATHelper: Packaging (Windows (64-bit)):     [6/57] Module.NativizedAssets.7_of_27.cpp
UATHelper: Packaging (Windows (64-bit)):     G:/BackUp/ChessProject/v3.37/CodexOfTimeV0_03/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/Chess_PC__pf1161601214.cpp(6233): error C2248: 'UCodexOfTiemBPFunctionLibrary::AStar': cannot access private member declared in class 'UCodexOfTiemBPFunctionLibrary'
UATHelper: Packaging (Windows (64-bit)):     G:\BackUp\ChessProject\v3.37\CodexOfTimeV0_03\Source\CodexOfTimeV0_03/CodexOfTiemBPFunctionLibrary.h(103): note: see declaration of 'UCodexOfTiemBPFunctionLibrary::AStar'
UATHelper: Packaging (Windows (64-bit)):     G:\BackUp\ChessProject\v3.37\CodexOfTimeV0_03\Source\CodexOfTimeV0_03/CodexOfTiemBPFunctionLibrary.h(91): note: see declaration of 'UCodexOfTiemBPFunctionLibrary'
UATHelper: Packaging (Windows (64-bit)):     G:/BackUp/ChessProject/v3.37/CodexOfTimeV0_03/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/Chess_PC__pf1161601214.cpp(6749): error C2248: 'UCodexOfTiemBPFunctionLibrary::AStar': cannot access private member declared in class 'UCodexOfTiemBPFunctionLibrary'
UATHelper: Packaging (Windows (64-bit)):     G:\BackUp\ChessProject\v3.37\CodexOfTimeV0_03\Source\CodexOfTimeV0_03/CodexOfTiemBPFunctionLibrary.h(103): note: see declaration of 'UCodexOfTiemBPFunctionLibrary::AStar'
UATHelper: Packaging (Windows (64-bit)):     G:\BackUp\ChessProject\v3.37\CodexOfTimeV0_03\Source\CodexOfTimeV0_03/CodexOfTiemBPFunctionLibrary.h(91): note: see declaration of 'UCodexOfTiemBPFunctionLibrary'
UATHelper: Packaging (Windows (64-bit)):     G:/BackUp/ChessProject/v3.37/CodexOfTimeV0_03/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/Chess_PC__pf1161601214.cpp(12892): error C2039: 'Array_Identical': is not a member of 'FCustomThunkTemplates'
UATHelper: Packaging (Windows (64-bit)):     C:\Program Files\Epic Games\UE_4.23\Engine\Source\Runtime\Engine\Public\GeneratedCodeHelpers.h(85): note: see declaration of 'FCustomThunkTemplates'
UATHelper: Packaging (Windows (64-bit)):     G:/BackUp/ChessProject/v3.37/CodexOfTimeV0_03/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/Chess_PC__pf1161601214.cpp(12892): error C3861: 'Array_Identical': identifier not found
UATHelper: Packaging (Windows (64-bit)):     [7/57] Module.NativizedAssets.6_of_27.cpp
UATHelper: Packaging (Windows (64-bit)):     G:/BackUp/ChessProject/v3.37/CodexOfTimeV0_03/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/Chess_GM__pf1161601214.cpp(5433): error C2248: 'UCodexOfTiemBPFunctionLibrary::AStar': cannot access private member declared in class 'UCodexOfTiemBPFunctionLibrary'
UATHelper: Packaging (Windows (64-bit)):     G:\BackUp\ChessProject\v3.37\CodexOfTimeV0_03\Source\CodexOfTimeV0_03/CodexOfTiemBPFunctionLibrary.h(103): note: see declaration of 'UCodexOfTiemBPFunctionLibrary::AStar'
UATHelper: Packaging (Windows (64-bit)):     G:\BackUp\ChessProject\v3.37\CodexOfTimeV0_03\Source\CodexOfTimeV0_03/CodexOfTiemBPFunctionLibrary.h(91): note: see declaration of 'UCodexOfTiemBPFunctionLibrary'
UATHelper: Packaging (Windows (64-bit)):     G:/BackUp/ChessProject/v3.37/CodexOfTimeV0_03/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/Chess_GM__pf1161601214.cpp(15101): error C2248: 'UCodexOfTiemBPFunctionLibrary::AStar': cannot access private member declared in class 'UCodexOfTiemBPFunctionLibrary'
UATHelper: Packaging (Windows (64-bit)):     G:\BackUp\ChessProject\v3.37\CodexOfTimeV0_03\Source\CodexOfTimeV0_03/CodexOfTiemBPFunctionLibrary.h(103): note: see declaration of 'UCodexOfTiemBPFunctionLibrary::AStar'
UATHelper: Packaging (Windows (64-bit)):     G:\BackUp\ChessProject\v3.37\CodexOfTimeV0_03\Source\CodexOfTimeV0_03/CodexOfTiemBPFunctionLibrary.h(91): note: see declaration of 'UCodexOfTiemBPFunctionLibrary'
UATHelper: Packaging (Windows (64-bit)):     G:/BackUp/ChessProject/v3.37/CodexOfTimeV0_03/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/Chess_GM__pf1161601214.cpp(17738): error C2039: 'Array_Identical': is not a member of 'FCustomThunkTemplates'
UATHelper: Packaging (Windows (64-bit)):     C:\Program Files\Epic Games\UE_4.23\Engine\Source\Runtime\Engine\Public\GeneratedCodeHelpers.h(85): note: see declaration of 'FCustomThunkTemplates'
UATHelper: Packaging (Windows (64-bit)):     G:/BackUp/ChessProject/v3.37/CodexOfTimeV0_03/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/Chess_GM__pf1161601214.cpp(17738): error C3861: 'Array_Identical': identifier not found
UATHelper: Packaging (Windows (64-bit)):     [8/57] Module.NativizedAssets.1_of_27.cpp
UATHelper: Packaging (Windows (64-bit)):     [9/57] Module.AdvancedSessions.gen.cpp
UATHelper: Packaging (Windows (64-bit)):     [10/57] Module.NativizedAssets.2_of_27.cpp
UATHelper: Packaging (Windows (64-bit)):     [11/57] Module.NativizedAssets.5_of_27.cpp
UATHelper: Packaging (Windows (64-bit)):     [12/57] Module.NativizedAssets.3_of_27.cpp

I figured out the problems. There were 3. The first was that my c++ function needed to be marked as public. The second and third was that for some reason the nativization does not like array comparisons. I just went to the functions described and got rid of does Array01 == Array02? . Hope this is helpful to others.