Circular Dependency Detected
Error
Cicular Dependency DetectedCause
virtual TArray<class USH_RV2_SplineComponent*> GetSplineSectionPaths();Fix
#include "Components/SH_RV2_SplineComponent.h"Notes
Last updated
Cicular Dependency DetectedIn some cases, it might be because a class is defined/forward declared without it being defined.
virtual TArray<class USH_RV2_SplineComponent*> GetSplineSectionPaths();In this case, USH_RV2_SplineComponent was not defined anywhere, and the class that this array was in had an Interface that thought this was a circular dependency.
Make sure the correct #includes are added so that there is no “circular dependency”.
#include "Components/SH_RV2_SplineComponent.h"When I deleted the Binaries/Intermediate folders and regenerated fresh, this error becamse an “undefined class” error. The notes here are to remind me to check other errors because the initial error may not be what’s actually causing this error.
Last updated