# UEFN crashes when creating a circular reference with an editable attribute

**URL:** <https://forums.unrealengine.com/t/uefn-crashes-when-creating-a-circular-reference-with-an-editable-attribute/1678275>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, closed, fortnite\
**Created:** [February 10, 2024, 8:15am UTC](https://forums.unrealengine.com/t/uefn-crashes-when-creating-a-circular-reference-with-an-editable-attribute/1678275 "2024-02-10T08:15:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eisuke114](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eisuke114/32/758029_2.png) [@Eisuke114](https://forums.unrealengine.com/u/Eisuke114)\
**Post date:** [February 10, 2024, 8:15am UTC](https://forums.unrealengine.com/t/uefn-crashes-when-creating-a-circular-reference-with-an-editable-attribute/1678275/1 "2024-02-10T08:15:38Z")

</div>

### Please select what you are reporting on:

Creative

### What Type of Bug are you experiencing?

Assets

### Summary

UEFN crashes when creating a circular reference with an editable attribute

### Steps to Reproduce

```auto
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }

first_circle_ref_device := class(creative_device):

    @editable
    Second:second_circle_ref_device=second_circle_ref_device{}

    OnBegin<override>()<suspends>:void=
        Print("Hello, world!")
        Print("2 + 2 = {2 + 2}")

```

```auto
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }

second_circle_ref_device := class(creative_device):

    @editable
    First:first_circle_ref_device=first_circle_ref_device{}

    OnBegin<override>()<suspends>:void=
        Print("Hello, world!")
        Print("2 + 2 = {2 + 2}")

```

Placing the above two codes will cause the project to crash.

### Expected Result

Should be able to issue a warning statement without crashing.

### Observed Result

```auto
LoginId:96ba46114a08a9cee47493adaa079dd1
EpicAccountId:596871732bef4be18e2a5d8fc429a94a

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x0000000000000000

UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
UnrealEditorFortnite_Win64_Shipping
kernel32
ntdll

```

This error happens.

### Platform(s)

Windows10

---

<div class="post-metadata">

**Author:** ![Grubble1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grubble1/32/876805_2.png) [@Grubble1](https://forums.unrealengine.com/u/Grubble1)\
**Post date:** [March 18, 2024, 3:31pm UTC](https://forums.unrealengine.com/t/uefn-crashes-when-creating-a-circular-reference-with-an-editable-attribute/1678275/2 "2024-03-18T15:31:32Z")

</div>

Any fix ?

---

<div class="post-metadata">

**Author:** ![SGSensei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SGSensei](https://forums.unrealengine.com/u/SGSensei)\
**Post date:** [March 19, 2024, 6:09pm UTC](https://forums.unrealengine.com/t/uefn-crashes-when-creating-a-circular-reference-with-an-editable-attribute/1678275/4 "2024-03-19T18:09:20Z")

</div>

Yeah I have this same issue but I think its considered normal behavior.

If you have Device A and Device B reference eachother, it pretty much creates an infinite loop.

A = import(B)  
B = import(A)

Impossible ^

You can’t reference a device A to other device B, and then reference the same device B to the same device A. Imagine the compiler looping trying to get to the end of the chain and never reaching it.

---

<div class="post-metadata">

**Author:** ![Eisuke114](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eisuke114/32/758029_2.png) [@Eisuke114](https://forums.unrealengine.com/u/Eisuke114)\
**Post date:** [March 24, 2024, 12:45pm UTC](https://forums.unrealengine.com/t/uefn-crashes-when-creating-a-circular-reference-with-an-editable-attribute/1678275/5 "2024-03-24T12:45:53Z")

</div>

I too recognize that circular references are a bad thing.  
Just crashing and instantly closing Editor without any signal is not good for a novice Programmer.  
I think the Editor should indicate what kind of problem caused the error.

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [September 1, 2026, 6:00pm UTC](https://forums.unrealengine.com/t/uefn-crashes-when-creating-a-circular-reference-with-an-editable-attribute/1678275/6 "2026-09-01T18:00:38Z")

</div>

FORT-722304 has been ‘Closed’. This is working as intended by design.
