# Circular dependency bug on interface?

**URL:** <https://forums.unrealengine.com/t/circular-dependency-bug-on-interface/722187>\
**Category:** C++\
**Tags:** dependencies, unreal-engine, CPP, question\
**Created:** [December 5, 2022, 10:39pm UTC](https://forums.unrealengine.com/t/circular-dependency-bug-on-interface/722187 "2022-12-05T22:39:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [December 5, 2022, 10:57pm UTC](https://forums.unrealengine.com/t/circular-dependency-bug-on-interface/722187/2 "2022-12-05T22:57:54Z")

</div>

> [@Forward Declare Structs???](https://forums.unrealengine.com/t/forward-declare-structs/115559/5):
>
> You can’t forward declare a struct that is used as a non-pointer (since the size of the struct must be known at compile time) and you cannot tag a struct pointer as UPROPERTY, so you must put that struct on a .h file and include it in your header.

---

_[View the full topic](https://forums.unrealengine.com/t/circular-dependency-bug-on-interface/722187)._
