Coder Social home page Coder Social logo

nebukam / pcgextendedtoolkit Goto Github PK

View Code? Open in Web Editor NEW
50.0 3.0 8.0 67.78 MB

PCGEx is a free (libre) Unreal 5 plugin that expands PCG capabilities. It offers a variety of high-performance nodes; with an edge for building relational graphs (Freeform, Delaunay, Voronoi, MST etc) and pathfinding; and much more.

License: MIT License

C# 0.08% C++ 99.91% C 0.01%
pcg plugin procedural-generation toolkit unreal unreal-engine-5 unreal-engine-cpp-plugin unrealengine graph relational-model

pcgextendedtoolkit's People

Contributors

nebukam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pcgextendedtoolkit's Issues

Compile errors on initial install

Hi, I'm testing out this plugin in a new, freshly created Unreal 5.3.2 C++ project.
I'm developing on an M1 Macbook Pro, so this is an arm64 editor build.

I've added the plugin as a git submodule and added the C# side ModuleRules additions to my project's Build.cs.

As a side note, the PublicIncludePaths addition in the installation instructions seems to be unnecessary in 5.3 as per the comment left on that field's API docs:

(This setting is currently not need as we discover all files from the 'Public' folder)

When I try to build the plugin after these installation steps, I get a big bunch of compilation errors, I've attached the logs at the end of this issue description.

I'm not quite sure what's going on here, whether it's something wrong with my local configuration or an issue with Mac/arm64 support maybe, but I'd also like to rule out the option that the current state of the main branch is broken, considering there's no stable tag to pin the submodule at right now.
Any thoughts or advice would be appreciated.


Compile logs

<projectroot> and <engineroot> are the absolute paths to my local project and installed engine, respectively

0>------ Building 8 action(s) started ------
0>[1/8] Compile [Apple] Module.PCGExtendedToolkit.3.cpp
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.3.cpp:2:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/UnrealEditor/Inc/PCGExtendedToolkit/UHT/PCGExPathfindingEdges.gen.cpp:8:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/Pathfinding/PCGExPathfindingEdges.h:8:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/Pathfinding/PCGExPathfinding.h:7:
0>PCGExMT.h(265,36): Error  : unknown type name 'FPCGExNonAbandonableTask'; did you mean 'FNonAbandonableTask'?
0>        void OnAsyncTaskExecutionComplete(FPCGExNonAbandonableTask* AsyncTask, bool bSuccess);
0>                                          ^~~~~~~~~~~~~~~~~~~~~~~~
0>                                          FNonAbandonableTask
0>AsyncWork.h(633,7): Reference  : 'FNonAbandonableTask' declared here
0>class FNonAbandonableTask
0>      ^
0>1 error generated.
0>[2/8] Compile [Apple] Module.PCGExtendedToolkit.2.cpp
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.2.cpp:2:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/UnrealEditor/Inc/PCGExtendedToolkit/UHT/PCGExDynamicPrimitiveProcessor.gen.cpp:8:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Primitives/PCGExDynamicPrimitiveProcessor.h:8:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/PCGExPointsProcessor.h:10:
0>PCGExMT.h(265,36): Error  : unknown type name 'FPCGExNonAbandonableTask'; did you mean 'FNonAbandonableTask'?
0>        void OnAsyncTaskExecutionComplete(FPCGExNonAbandonableTask* AsyncTask, bool bSuccess);
0>                                          ^~~~~~~~~~~~~~~~~~~~~~~~
0>                                          FNonAbandonableTask
0>AsyncWork.h(633,7): Reference  : 'FNonAbandonableTask' declared here
0>class FNonAbandonableTask
0>      ^
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.2.cpp:18:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/UnrealEditor/Inc/PCGExtendedToolkit/UHT/PCGExGeo.gen.cpp:8:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Geometry/PCGExGeo.h:7:
0>PCGExGeoPrimtives.h(61,22): Error  : comparison between pointer and integer ('int' and 'int (*)()')
0>                        for (int i = 0; i < Dimension; i++) { sum += Position[i] * Position[i]; }
0>                                        ~ ^ ~~~~~~~~~
0>2 errors generated.
0>[3/8] Compile [Apple] Module.PCGExtendedToolkit.1.cpp
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.1.cpp:6:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/UnrealEditor/Inc/PCGExtendedToolkit/UHT/PCGExBridgeEdgeClusters.gen.cpp:8:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/Edges/PCGExBridgeEdgeClusters.h:7:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/PCGExEdgesProcessor.h:7:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/PCGExCluster.h:8:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/PCGExEdge.h:8:
0>PCGExMT.h(265,36): Error  : unknown type name 'FPCGExNonAbandonableTask'; did you mean 'FNonAbandonableTask'?
0>        void OnAsyncTaskExecutionComplete(FPCGExNonAbandonableTask* AsyncTask, bool bSuccess);
0>                                          ^~~~~~~~~~~~~~~~~~~~~~~~
0>                                          FNonAbandonableTask
0>AsyncWork.h(633,7): Reference  : 'FNonAbandonableTask' declared here
0>class FNonAbandonableTask
0>      ^
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.1.cpp:12:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/UnrealEditor/Inc/PCGExtendedToolkit/UHT/PCGExBuildVoronoiGraph.gen.cpp:8:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/PCGExBuildVoronoiGraph.h:9:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Geometry/PCGExGeo.h:7:
0>PCGExGeoPrimtives.h(61,22): Error  : comparison between pointer and integer ('int' and 'int (*)()')
0>                        for (int i = 0; i < Dimension; i++) { sum += Position[i] * Position[i]; }
0>                                        ~ ^ ~~~~~~~~~
0>2 errors generated.
0>[4/8] Compile [Apple] Module.PCGExtendedToolkit.5.cpp
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.5.cpp:2:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Private/Graph/PCGExCluster.cpp:4:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/PCGExCluster.h:8:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/PCGExEdge.h:8:
0>PCGExMT.h(265,36): Error  : unknown type name 'FPCGExNonAbandonableTask'; did you mean 'FNonAbandonableTask'?
0>        void OnAsyncTaskExecutionComplete(FPCGExNonAbandonableTask* AsyncTask, bool bSuccess);
0>                                          ^~~~~~~~~~~~~~~~~~~~~~~~
0>                                          FNonAbandonableTask
0>AsyncWork.h(633,7): Reference  : 'FNonAbandonableTask' declared here
0>class FNonAbandonableTask
0>      ^
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.5.cpp:49:
0>PCGExMT.cpp(13,26): Error  : out-of-line definition of 'OnAsyncTaskExecutionComplete' does not match any declaration in 'FPCGExAsyncManager'
0>void FPCGExAsyncManager::OnAsyncTaskExecutionComplete(FPCGExNonAbandonableTask* AsyncTask, bool bSuccess)
0>                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
0>2 errors generated.
0>[5/8] Compile [Apple] Module.PCGExtendedToolkit.4.cpp
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.4.cpp:2:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/UnrealEditor/Inc/PCGExtendedToolkit/UHT/PCGExSanitizeClusters.gen.cpp:8:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/PCGExSanitizeClusters.h:7:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/PCGExCluster.h:8:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Graph/PCGExEdge.h:8:
0>PCGExMT.h(265,36): Error  : unknown type name 'FPCGExNonAbandonableTask'; did you mean 'FNonAbandonableTask'?
0>        void OnAsyncTaskExecutionComplete(FPCGExNonAbandonableTask* AsyncTask, bool bSuccess);
0>                                          ^~~~~~~~~~~~~~~~~~~~~~~~
0>                                          FNonAbandonableTask
0>AsyncWork.h(633,7): Reference  : 'FNonAbandonableTask' declared here
0>class FNonAbandonableTask
0>      ^
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.4.cpp:27:
0>PCGExAttributeHelpers.cpp(45,28): Error  : no matching constructor for initialization of 'PCGEx::FAttributeIdentity'
0>                        OutIdentities.AddUnique(FAttributeIdentity(Names[i], Types[i]));
0>                                                ^                  ~~~~~~~~~~~~~~~~~~
0>PCGExAttributeHelpers.h(76,32): Reference  : candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
0>        struct PCGEXTENDEDTOOLKIT_API FAttributeIdentity
0>                                      ^
0>PCGExAttributeHelpers.h(76,32): Reference  : candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
0>PCGExAttributeHelpers.h(76,32): Reference  : candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.4.cpp:27:
0>PCGExAttributeHelpers.cpp(58,28): Error  : no matching constructor for initialization of 'PCGEx::FAttributeIdentity'
0>                        OutIdentities.Add(Name, FAttributeIdentity(Name, Types[i]));
0>                                                ^                  ~~~~~~~~~~~~~~
0>PCGExAttributeHelpers.h(76,32): Reference  : candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
0>        struct PCGEXTENDEDTOOLKIT_API FAttributeIdentity
0>                                      ^
0>PCGExAttributeHelpers.h(76,32): Reference  : candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
0>PCGExAttributeHelpers.h(76,32): Reference  : candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.4.cpp:33:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Private/Graph/Edges/PCGExBridgeEdgeClusters.cpp:7:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Geometry/PCGExGeoDelaunay.h:7:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Geometry/PCGExGeo.h:7:
0>PCGExGeoPrimtives.h(61,22): Error  : comparison between pointer and integer ('int' and 'int (*)()')
0>                        for (int i = 0; i < Dimension; i++) { sum += Position[i] * Position[i]; }
0>                                        ~ ^ ~~~~~~~~~
0>PCGExGeoPrimtives.h(181,35): Error  : array index 2 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                const TFVtx<DIMENSIONS>& C = *Vertices[2];
0>                                                              ^        ~
0>PCGExGeoHull.h(457,10): Reference  : in instantiation of member function 'PCGExGeo::TFSimplex<2>::UpdateNormal' requested here
0>                        Face->UpdateNormal();
0>                              ^
0>PCGExGeoHull.h(625,11): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<2>::CalculateFacePlane' requested here
0>                                        if (!CalculateFacePlane(NewFace)) { return false; }
0>                                             ^
0>PCGExGeoHull.h(192,53): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<2>::CreateCone' requested here
0>                        if (!SingularVertices.Contains(CurrentVertex) && CreateCone()) { CommitCone(); }
0>                                                                         ^
0>PCGExGeoHull.h(848,2): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<2>::ProcessNext' requested here
0>        PCGEX_HULL_CLASS(2)
0>        ^
0>PCGExGeoHull.h(846,49): Reference  : expanded from macro 'PCGEX_HULL_CLASS'
0>                virtual bool ExecuteTask() override{if (Hull->ProcessNext()){Manager->Start<FPCGExProcessHull##_NUM##Task>(TaskIndex, PointIO, Hull); return true;} return false;}};
0>                                                              ^
0>PCGExGeoPrimtives.h(115,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(193,5): Error  : array index 2 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                Normal[2] = f * Nz;
0>                                ^      ~
0>PCGExGeoPrimtives.h(108,3): Reference  : array 'Normal' declared here
0>                double Normal[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(213,35): Error  : array index 2 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                const TFVtx<DIMENSIONS>& C = *Vertices[2];
0>                                                              ^        ~
0>PCGExGeoPrimtives.h(115,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(214,35): Error  : array index 3 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                const TFVtx<DIMENSIONS>& D = *Vertices[3];
0>                                                              ^        ~
0>PCGExGeoPrimtives.h(115,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(236,5): Error  : array index 2 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                Normal[2] = F * Nz;
0>                                ^      ~
0>PCGExGeoPrimtives.h(108,3): Reference  : array 'Normal' declared here
0>                double Normal[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(237,5): Error  : array index 3 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                Normal[3] = F * Nw;
0>                                ^      ~
0>PCGExGeoPrimtives.h(108,3): Reference  : array 'Normal' declared here
0>                double Normal[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(214,35): Error  : array index 3 is past the end of the array (which contains 3 elements) [-Werror,-Warray-bounds]
0>                                const TFVtx<DIMENSIONS>& D = *Vertices[3];
0>                                                              ^        ~
0>PCGExGeoHull.h(457,10): Reference  : in instantiation of member function 'PCGExGeo::TFSimplex<3>::UpdateNormal' requested here
0>                        Face->UpdateNormal();
0>                              ^
0>PCGExGeoHull.h(625,11): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<3>::CalculateFacePlane' requested here
0>                                        if (!CalculateFacePlane(NewFace)) { return false; }
0>                                             ^
0>PCGExGeoHull.h(192,53): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<3>::CreateCone' requested here
0>                        if (!SingularVertices.Contains(CurrentVertex) && CreateCone()) { CommitCone(); }
0>                                                                         ^
0>PCGExGeoHull.h(850,2): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<3>::ProcessNext' requested here
0>        PCGEX_HULL_CLASS(3)
0>        ^
0>PCGExGeoHull.h(846,49): Reference  : expanded from macro 'PCGEX_HULL_CLASS'
0>                virtual bool ExecuteTask() override{if (Hull->ProcessNext()){Manager->Start<FPCGExProcessHull##_NUM##Task>(TaskIndex, PointIO, Hull); return true;} return false;}};
0>                                                              ^
0>PCGExGeoPrimtives.h(115,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(237,5): Error  : array index 3 is past the end of the array (which contains 3 elements) [-Werror,-Warray-bounds]
0>                                Normal[3] = F * Nw;
0>                                ^      ~
0>PCGExGeoPrimtives.h(108,3): Reference  : array 'Normal' declared here
0>                double Normal[DIMENSIONS];
0>                ^
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.4.cpp:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/UnrealEd/SharedPCH.UnrealEd.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/Engine/SharedPCH.Engine.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/Slate/SharedPCH.Slate.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/CoreUObject/SharedPCH.CoreUObject.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/Core/SharedPCH.Core.Cpp20.h:3:
0>In file included from <engineroot>/Source/Runtime/Core/Public/CoreSharedPCH.h:7:
0>In file included from <engineroot>/Source/Runtime/Core/Public/Async/AsyncWork.h:11:
0>In file included from <engineroot>/Source/Runtime/Core/Public/Misc/Compression.h:5:
0>In file included from Runtime/Core/Public/Containers/Map.h:9:
0>In file included from <engineroot>/Source/Runtime/Core/Public/Containers/Set.h:12:
0>Array.h(2141,12): Error  : no matching constructor for initialization of 'TArray<PCGExPathfinding::FPlotPoint>::ElementType' (aka 'PCGExPathfinding::FPlotPoint')
0>                new(Ptr) ElementType(Forward<ArgsType>(Args)...);
0>                         ^           ~~~~~~~~~~~~~~~~~~~~~~~
0>PCGExPathfindingPlotNavmesh.cpp(146,16): Reference  : in instantiation of function template specialization 'TArray<PCGExPathfinding::FPlotPoint>::Emplace_GetRef<int, UE::Math::TVector<double>, const long long &>' requested here
0>        PathLocations.Emplace_GetRef(0, FirstPoint.Transform.GetLocation(), FirstPoint.MetadataEntry);
0>                      ^
0>PCGExPathfinding.h(247,32): Reference  : candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
0>        struct PCGEXTENDEDTOOLKIT_API FPlotPoint
0>                                      ^
0>PCGExPathfinding.h(247,32): Reference  : candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided
0>PCGExPathfinding.h(247,32): Reference  : candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 3 were provided
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.4.cpp:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/UnrealEd/SharedPCH.UnrealEd.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/Engine/SharedPCH.Engine.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/Slate/SharedPCH.Slate.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/CoreUObject/SharedPCH.CoreUObject.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/Core/SharedPCH.Core.Cpp20.h:3:
0>In file included from <engineroot>/Source/Runtime/Core/Public/CoreSharedPCH.h:7:
0>In file included from <engineroot>/Source/Runtime/Core/Public/Async/AsyncWork.h:11:
0>In file included from <engineroot>/Source/Runtime/Core/Public/Misc/Compression.h:5:
0>In file included from Runtime/Core/Public/Containers/Map.h:9:
0>In file included from <engineroot>/Source/Runtime/Core/Public/Containers/Set.h:12:
0>Array.h(2141,12): Error  : no matching constructor for initialization of 'TArray<PCGExPathfinding::FPlotPoint>::ElementType' (aka 'PCGExPathfinding::FPlotPoint')
0>                new(Ptr) ElementType(Forward<ArgsType>(Args)...);
0>                         ^           ~~~~~~~~~~~~~~~~~~~~~~~
0>PCGExPathfindingPlotNavmesh.cpp(177,19): Reference  : in instantiation of function template specialization 'TArray<PCGExPathfinding::FPlotPoint>::Emplace_GetRef<int &, const UE::Math::TVector<double> &, const long long &>' requested here
0>                                PathLocations.Emplace_GetRef(i, PathPoint.Location, PCGInvalidEntryKey);
0>                                              ^
0>PCGExPathfinding.h(247,32): Reference  : candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
0>        struct PCGEXTENDEDTOOLKIT_API FPlotPoint
0>                                      ^
0>PCGExPathfinding.h(247,32): Reference  : candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided
0>PCGExPathfinding.h(247,32): Reference  : candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 3 were provided
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.4.cpp:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/UnrealEd/SharedPCH.UnrealEd.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/Engine/SharedPCH.Engine.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/Slate/SharedPCH.Slate.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/CoreUObject/SharedPCH.CoreUObject.Cpp20.h:1:
0>In file included from <projectroot>/Intermediate/Build/Mac/arm64/SuitEditor/Development/Core/SharedPCH.Core.Cpp20.h:3:
0>In file included from <engineroot>/Source/Runtime/Core/Public/CoreSharedPCH.h:7:
0>In file included from <engineroot>/Source/Runtime/Core/Public/Async/AsyncWork.h:11:
0>In file included from <engineroot>/Source/Runtime/Core/Public/Misc/Compression.h:5:
0>In file included from Runtime/Core/Public/Containers/Map.h:9:
0>In file included from <engineroot>/Source/Runtime/Core/Public/Containers/Set.h:12:
0>Array.h(2141,12): Error  : no matching constructor for initialization of 'TArray<PCGExPathfinding::FPlotPoint>::ElementType' (aka 'PCGExPathfinding::FPlotPoint')
0>                new(Ptr) ElementType(Forward<ArgsType>(Args)...);
0>                         ^           ~~~~~~~~~~~~~~~~~~~~~~~
0>PCGExPathfindingPlotNavmesh.cpp(182,34): Reference  : in instantiation of function template specialization 'TArray<PCGExPathfinding::FPlotPoint>::Emplace_GetRef<int &, UE::Math::TVector<double> &, const long long &>' requested here
0>                        if (bAddGoal) { PathLocations.Emplace_GetRef(i, GoalPosition, PCGInvalidEntryKey); }
0>                                                      ^
0>PCGExPathfinding.h(247,32): Reference  : candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
0>        struct PCGEXTENDEDTOOLKIT_API FPlotPoint
0>                                      ^
0>PCGExPathfinding.h(247,32): Reference  : candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided
0>PCGExPathfinding.h(247,32): Reference  : candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 3 were provided
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Intermediate/Build/Mac/arm64/UnrealEditor/Development/PCGExtendedToolkit/Module.PCGExtendedToolkit.4.cpp:33:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Private/Graph/Edges/PCGExBridgeEdgeClusters.cpp:7:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Geometry/PCGExGeoDelaunay.h:7:
0>In file included from <projectroot>/Plugins/PCGExtendedToolkit/Source/PCGExtendedToolkit/Public/Geometry/PCGExGeo.h:7:
0>PCGExGeoPrimtives.h(318,57): Error  : array index 3 is past the end of the array (which contains 3 elements) [-Werror,-Warray-bounds]
0>                                Triangles.Emplace(Vertices[0]->Id, Vertices[1]->Id, Vertices[3]->Id);
0>                                                                                    ^        ~
0>PCGExGeoDelaunay.h(145,20): Reference  : in instantiation of member function 'PCGExGeo::TFSimplex<3>::GetTriangles' requested here
0>                                Cell->Simplex->GetTriangles(Triangles);
0>                                               ^
0>PCGExBuildDelaunayGraph2D.cpp(189,49): Reference  : in instantiation of member function 'PCGExGeo::TDelaunayTriangulation<3, PCGExGeo::TConvexHull3>::GetUrquhartEdges' requested here
0>                if (Settings->bUrquhart) { Context->Delaunay->GetUrquhartEdges(Edges); }
0>                                                              ^
0>PCGExGeoPrimtives.h(115,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(319,57): Error  : array index 3 is past the end of the array (which contains 3 elements) [-Werror,-Warray-bounds]
0>                                Triangles.Emplace(Vertices[0]->Id, Vertices[2]->Id, Vertices[3]->Id);
0>                                                                                    ^        ~
0>PCGExGeoPrimtives.h(115,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^
0>17 errors generated.
0>Total time in Parallel executor: 7.90 seconds
0>Total execution time: 11.10 seconds

M1 Mac compilation errors reintroduced in recent commits

Hi again,

I pulled your changes from the last five days and it looks like some compilation errors are back again:


PCGExAttributeRemap.cpp (introduced in 8cd3ecf)

0>PCGExAttributeRemap.cpp(201,11): Error  : use 'template' keyword to treat 'SetRange' as a dependent template name
0>                Setter->SetRange<RawT>(
0>                        ^
0>                        template

PCGExGeoPrimtives.cpp (not sure when this issue was reintroduced, but seems like a similar case to the previous ones)

0>PCGExGeoPrimtives.h(182,35): Error  : array index 2 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                const TFVtx<DIMENSIONS>& C = *Vertices[2];
0>                                                              ^        ~
0>PCGExGeoHull.h(457,10): Reference  : in instantiation of member function 'PCGExGeo::TFSimplex<2>::UpdateNormal' requested here
0>                        Face->UpdateNormal();
0>                              ^
0>PCGExGeoHull.h(625,11): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<2>::CalculateFacePlane' requested here
0>                                        if (!CalculateFacePlane(NewFace)) { return false; }
0>                                             ^
0>PCGExGeoHull.h(192,53): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<2>::CreateCone' requested here
0>                        if (!SingularVertices.Contains(CurrentVertex) && CreateCone()) { CommitCone(); }
0>                                                                         ^
0>PCGExGeoHull.h(848,2): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<2>::ProcessNext' requested here
0>        PCGEX_HULL_CLASS(2)
0>        ^
0>PCGExGeoHull.h(846,49): Reference  : expanded from macro 'PCGEX_HULL_CLASS'
0>                virtual bool ExecuteTask() override{if (Hull->ProcessNext()){Manager->Start<FPCGExProcessHull##_NUM##Task>(TaskIndex, PointIO, Hull); return true;} return false;}};
0>                                                              ^
0>PCGExGeoPrimtives.h(116,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(194,5): Error  : array index 2 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                Normal[2] = f * Nz;
0>                                ^      ~
0>PCGExGeoPrimtives.h(109,3): Reference  : array 'Normal' declared here
0>                double Normal[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(214,35): Error  : array index 2 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                const TFVtx<DIMENSIONS>& C = *Vertices[2];
0>                                                              ^        ~
0>PCGExGeoPrimtives.h(116,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(215,35): Error  : array index 3 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                const TFVtx<DIMENSIONS>& D = *Vertices[3];
0>                                                              ^        ~
0>PCGExGeoPrimtives.h(116,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(237,5): Error  : array index 2 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                Normal[2] = F * Nz;
0>                                ^      ~
0>PCGExGeoPrimtives.h(109,3): Reference  : array 'Normal' declared here
0>                double Normal[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(238,5): Error  : array index 3 is past the end of the array (which contains 2 elements) [-Werror,-Warray-bounds]
0>                                Normal[3] = F * Nw;
0>                                ^      ~
0>PCGExGeoPrimtives.h(109,3): Reference  : array 'Normal' declared here
0>                double Normal[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(215,35): Error  : array index 3 is past the end of the array (which contains 3 elements) [-Werror,-Warray-bounds]
0>                                const TFVtx<DIMENSIONS>& D = *Vertices[3];
0>                                                              ^        ~
0>PCGExGeoHull.h(457,10): Reference  : in instantiation of member function 'PCGExGeo::TFSimplex<3>::UpdateNormal' requested here
0>                        Face->UpdateNormal();
0>                              ^
0>PCGExGeoHull.h(625,11): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<3>::CalculateFacePlane' requested here
0>                                        if (!CalculateFacePlane(NewFace)) { return false; }
0>                                             ^
0>PCGExGeoHull.h(192,53): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<3>::CreateCone' requested here
0>                        if (!SingularVertices.Contains(CurrentVertex) && CreateCone()) { CommitCone(); }
0>                                                                         ^
0>PCGExGeoHull.h(850,2): Reference  : in instantiation of member function 'PCGExGeo::TConvexHull<3>::ProcessNext' requested here
0>        PCGEX_HULL_CLASS(3)
0>        ^
0>PCGExGeoHull.h(846,49): Reference  : expanded from macro 'PCGEX_HULL_CLASS'
0>                virtual bool ExecuteTask() override{if (Hull->ProcessNext()){Manager->Start<FPCGExProcessHull##_NUM##Task>(TaskIndex, PointIO, Hull); return true;} return false;}};
0>                                                              ^
0>PCGExGeoPrimtives.h(116,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(238,5): Error  : array index 3 is past the end of the array (which contains 3 elements) [-Werror,-Warray-bounds]
0>                                Normal[3] = F * Nw;
0>                                ^      ~
0>PCGExGeoPrimtives.h(109,3): Reference  : array 'Normal' declared here
0>                double Normal[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(319,57): Error  : array index 3 is past the end of the array (which contains 3 elements) [-Werror,-Warray-bounds]
0>                                Triangles.Emplace(Vertices[0]->Id, Vertices[1]->Id, Vertices[3]->Id);
0>                                                                                    ^        ~
0>PCGExGeoDelaunay.h(145,20): Reference  : in instantiation of member function 'PCGExGeo::TFSimplex<3>::GetTriangles' requested here
0>                                Cell->Simplex->GetTriangles(Triangles);
0>                                               ^
0>PCGExBuildDelaunayGraph2D.cpp(191,49): Reference  : in instantiation of member function 'PCGExGeo::TDelaunayTriangulation<3, PCGExGeo::TConvexHull3>::GetUrquhartEdges' requested here
0>                if (Settings->bUrquhart) { Context->Delaunay->GetUrquhartEdges(Edges); }
0>                                                              ^
0>PCGExGeoPrimtives.h(116,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^
0>PCGExGeoPrimtives.h(320,57): Error  : array index 3 is past the end of the array (which contains 3 elements) [-Werror,-Warray-bounds]
0>                                Triangles.Emplace(Vertices[0]->Id, Vertices[2]->Id, Vertices[3]->Id);
0>                                                                                    ^        ~
0>PCGExGeoPrimtives.h(116,3): Reference  : array 'Vertices' declared here
0>                TFVtx<DIMENSIONS>* Vertices[DIMENSIONS];
0>                ^

Unable to package due to editor only module

Hello there, first off I want to preface that I do apologies if I'm misunderstanding the uses of the plugin. I have limited C++ knowledge and an avid blueprint abuser. I've mainly been using the plugin to generate spline with pathfinding at runtime using blueprints.


I'm running into an issue where the UE5.3 would fail to package the game. Looking into the log and some googling, I found that PCGExtendedToolkit introduces the UnrealEd module which is editor only and cannot be packaged.

Unable to instantiate module 'UnrealEd': Unable to instantiate UnrealEd module for non-editor targets.
(referenced via Target -> PCGExtendedToolkit.Build.cs)
BuildException: Unable to instantiate UnrealEd module for non-editor targets.

I did some sanity tests — removing the plugin solves the issue and it can be replicated in a fresh project.

Click here for full logs

:(

No config file at C:\Users\creze\OneDrive\Documents\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Configuration will be read from:
  C:\Users\creze\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Log file: C:\Users\creze\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_5.3\UBT-testproj-Win64-Shipping.txt

Setting temp directory to 'C:\Users\creze\AppData\Local\Temp\UnrealBuildTool\e6b63909'
    Registering build platform: UnrealBuildTool.AndroidPlatformFactory
    Registering build platform: UnrealBuildTool.IOSPlatformFactory
    Registering build platform: UnrealBuildTool.LinuxPlatformFactory
        Registering build platform: Linux - buildable: False
        Registering build platform: LinuxArm64 - buildable: False
    Registering build platform: UnrealBuildTool.MacPlatformFactory
    Registering build platform: UnrealBuildTool.TVOSPlatformFactory
    Registering build platform: UnrealBuildTool.WindowsPlatformFactory
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (1)
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (2)
Found Windows 10 SDK version 10.0.18362.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.18362.0 at C:\Program Files (x86)\Windows Kits\10
Found Windows 10 SDK version 10.0.19041.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.19041.0 at C:\Program Files (x86)\Windows Kits\10
Found Windows 10 SDK version 10.0.20348.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.20348.0 at C:\Program Files (x86)\Windows Kits\10
Found Windows 10 SDK version 10.0.22000.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.22000.0 at C:\Program Files (x86)\Windows Kits\10
Found Windows 10 SDK version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10
Win64 Installed SDK(s): MinVersion_Sdk=10.0.00000.0, MaxVersion_Sdk=10.9.99999.0, CurrentVersion_Sdk=10.0.18362.0, Version_AutoSdk=10.0.18362.0, CurrentVersion_AutoSdk=
        Registering build platform: Win64 - buildable: True
Command line: "D:\Program Files\Epic Games\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" testproj Win64 Shipping "-Project=C:\Users\creze\OneDrive\Documents\Unreal Projects\testproj\testproj.uproject" "-Manifest=C:\Users\creze\OneDrive\Documents\Unreal Projects\testproj\Intermediate\Build\Manifest.xml" "-remoteini=C:\Users\creze\OneDrive\Documents\Unreal Projects\testproj" -skipdeploy "-log=C:\Users\creze\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_5.3\UBT-testproj-Win64-Shipping.txt"
Using 'git status' to determine working set for adaptive non-unity build (C:\Users\creze\OneDrive\Documents\Unreal Projects\testproj).
Makefile is older than UnrealBuildTool assembly, ignoring it
Creating makefile for testproj (UnrealBuildTool assembly is newer)
Skipping D:\Program Files\Epic Games\UE_5.3\Engine\Intermediate\Build\BuildRules\UE5Rules.dll: File is installed
Skipping D:\Program Files\Epic Games\UE_5.3\Engine\Intermediate\Build\BuildRules\UE5ProgramRules.dll: File is installed
Found Visual Studio installation: C:\Program Files\Microsoft Visual Studio\2022\Community (Product=Microsoft.VisualStudio.Product.Community, Version=17.8.34322.80)
Found Visual Studio installation: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools (Product=Microsoft.VisualStudio.Product.BuildTools, Version=16.11.34301.259)
Found Visual Studio installation: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community (Product=Microsoft.VisualStudio.Product.Community, Version=16.11.34301.259)
Found Visual Studio toolchain: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130 (Family=14.38.33130, FamilyRank=4, Version=14.38.33130, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64, Error=False, Redist=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.38.33130)
Building UnrealGame - testproj - Win64 - Shipping
Total execution time: 0.58 seconds
Unable to instantiate module 'UnrealEd': Unable to instantiate UnrealEd module for non-editor targets.
(referenced via Target -> PCGExtendedToolkit.Build.cs)
BuildException: Unable to instantiate UnrealEd module for non-editor targets.
   at UnrealEd..ctor(ReadOnlyTargetRules Target) in D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\UnrealEd.Build.cs:line 12Wrapped by TargetInvocationException: Exception has been thrown by the target of an invocation.
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeConstructorInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 542Wrapped by BuildException: Unable to instantiate module 'UnrealEd': Unable to instantiate UnrealEd module for non-editor targets.
(referenced via Target -> PCGExtendedToolkit.Build.cs)
   at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 561
   at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 423
   at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 423
   at UnrealBuildTool.RulesAssembly.CreateModuleRules(String ModuleName, ReadOnlyTargetRules Target, String ReferenceChain, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 423
   at UnrealBuildTool.UEBuildTarget.CreateModuleRulesAndSetDefaults(String ModuleName, String ReferenceChain, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 5210
   at UnrealBuildTool.UEBuildTarget.FindOrCreateModuleByName(String ModuleName, String ReferenceChain, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 5334
   at UnrealBuildTool.UEBuildTarget.<>c__DisplayClass66_0.<PreBuildSetup>b__0(String Name, String RefChain) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 3335
   at UnrealBuildTool.UEBuildModule.RecursivelyCreateModulesByName(List`1 ModuleNames, List`1& Modules, Boolean& bDependsOnVerse, CreateModuleDelegate CreateModule, String ReferenceChain, List`1 ReferenceStack, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildModule.cs:line 1230
   at UnrealBuildTool.UEBuildModule.RecursivelyCreateModules(CreateModuleDelegate CreateModule, String ReferenceChain, List`1 ReferenceStack, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildModule.cs:line 1178
   at UnrealBuildTool.UEBuildBinary.CreateAllDependentModules(CreateModuleDelegate CreateModule, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildBinary.cs:line 157
   at UnrealBuildTool.UEBuildTarget.PreBuildSetup(ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 3333
   at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bUsePrecompiled, UnrealIntermediateEnvironment IntermediateEnvironment, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 1366
   at UnrealBuildTool.BuildMode.CreateMakefileAsync(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDescriptor, ISourceFileWorkingSet WorkingSet, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 1114
   at UnrealBuildTool.BuildMode.BuildAsync(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger, Boolean bSkipPreBuildTargets) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 396
   at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 252
   at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in D:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 659
WriteFileIfChanged() wrote 0 changed files of 0 requested writes.
Timeline:

[ 0.000]
[ 0.000](+0.597) <unknown>
[ 0.597]

Mac user

Bonjour Timothé. I would like to use this on my Mac but Xcode gives a "declaration shadows a field of " error on line 86 of PCGExDataFiler error. Unfortunately I am more a visual artist than coder. I wondered if this is an easy fix ( it runs fine on my Windows machine ) Xcode is very fussy. Thanks
Screenshot 2024-03-31 at 11 07 51 am

Compilation errors on 5.4

This is purely informative since 5.4 is not officially out and it might not makes sense to put any effort into supporting it yet (particularly if it's breaking 5.3).

Here's a list of compilation issues on 5.4:

Error	C2039	'priority_queue': is not a member of 'std'	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Graph\Pathfinding\Search\PCGExScoredQueue.h	30
Error	C2039	'vector': is not a member of 'std'	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Graph\Pathfinding\Search\PCGExScoredQueue.h	30
Error	C2275	'PCGExSearch::TScoredQueue::FScoredNode': expected an expression instead of a type	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Graph\Pathfinding\Search\PCGExScoredQueue.h	30
Error	C7568	argument list missing after assumed function template 'priority_queue'	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Graph\Pathfinding\Search\PCGExScoredQueue.h	30
Error	C2062	type 'unknown-type' unexpected	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Graph\Pathfinding\Search\PCGExScoredQueue.h	30
Error	C2238	unexpected token(s) preceding ';'	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Graph\Pathfinding\Search\PCGExScoredQueue.h	30
Error	C2039	'priority_queue': is not a member of 'std'	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	11
Error	C2275	'PCGExSearch::TScoredQueue::FScoredNode': expected an expression instead of a type	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	11
Error	C2039	'vector': is not a member of 'std'	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	11
Error	C2275	'PCGExSearch::TScoredQueue::FScoredNode': expected an expression instead of a type	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	11
Error	C2059	syntax error: ','	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	11
Error	C2065	'InternalQueue': undeclared identifier	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	12
Error	C2065	'EmptyQueue': undeclared identifier	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	12
Error	C2065	'InternalQueue': undeclared identifier	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	19
Error	C2065	'InternalQueue': undeclared identifier	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	26
Error	C2065	'InternalQueue': undeclared identifier	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	28
Error	C2737	'TopNode': const object must be initialized	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	28
Error	C2065	'InternalQueue': undeclared identifier	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Private\Graph\Pathfinding\Search\PCGExScoredQueue.cpp	29
Error	C2665	'PCGEx::FAttributeGetter<FVector>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	536
Error	C2665	'PCGEx::FAttributeGetter<FVector>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	544
Error	C2665	'PCGEx::FAttributeGetter<double>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	536
Error	C2665	'PCGEx::FAttributeGetter<double>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	544
Error	C2665	'PCGEx::FAttributeGetter<FVector>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	536
Error	C2665	'PCGEx::FAttributeGetter<FVector>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	544
Error	C2665	'PCGEx::FAttributeGetter<double>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	536
Error	C2665	'PCGEx::FAttributeGetter<double>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	544
Error	C2665	'PCGEx::FAttributeGetter<double>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	536
Error	C2665	'PCGEx::FAttributeGetter<double>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	544
Error	C2665	'PCGEx::FAttributeGetter<double>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	536
Error	C2665	'PCGEx::FAttributeGetter<double>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	544
Error	C2665	'PCGEx::FAttributeGetter<FVector>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	536
Error	C2665	'PCGEx::FAttributeGetter<FVector>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	544
Error	C2665	'PCGEx::FAttributeGetter<double>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	536
Error	C2665	'PCGEx::FAttributeGetter<double>::Convert': no overloaded function could convert all the argument types	Plugins\PCGExtendedToolkit\Source\PCGExtendedToolkit\Public\Data\PCGExAttributeHelpers.h	544

Issue with socket definitions

Thanks for the great effort. It's an insane open-source product. I'm just unable to locate this little guy over here. I tried using subgraphs as socket definitions, but they are not working.

Screenshot 2024-04-09 163725

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.