# UEFN crashes when linking verse devices to eachother

**URL:** <https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330>\
**Category:** Issues and Bug Reporting\
**Tags:** fortnite-creative, unreal-editor-for-fortnite, crash, bug-report, fortnite\
**Created:** [March 16, 2024, 4:06pm UTC](https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330 "2024-03-16T16:06:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omniverse](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/omniverse/32/907699_2.png) [@Omniverse](https://forums.unrealengine.com/u/Omniverse)\
**Post date:** [March 16, 2024, 4:06pm UTC](https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330/1 "2024-03-16T16:06:11Z")

</div>

### Please select what you are reporting on:

Verse

### What Type of Bug are you experiencing?

Verse

### Summary

Hello,

I have discovered a bug when I went to link one of my verse devices to another one. The verse device is called math.verse and I did not have any issues with it running before linking it to the other verse device as an editable. From the math.verse device I was able to link another verse device. But from that other verse device, I cannot add math.verse as an editable there. This will keep UEFN crashing when you build verse code or while loading the project.

### Steps to Reproduce

1. Create two verse devices one with any name, the other math
2. on the device with any name, add math as an editable, i.e:  
@editable  
mathdev : math = math{}
3. Attempt to build verse code or launch project

### Expected Result

It should crash with Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION 0x0000000000000000

### Observed Result

Crashes on building code and also relaunching UEFN and loading project

### Platform(s)

PC

### Additional Notes

I may expect this to be an issue with the built-in libraries and functions, but may help prevent others from crashing if this bug is either fixed or if an error displays when trying to create a verse project with certain names.

---

<div class="post-metadata">

**Author:** ![Omniverse](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/omniverse/32/907699_2.png) [@Omniverse](https://forums.unrealengine.com/u/Omniverse)\
**Post date:** [March 17, 2024, 5:40am UTC](https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330/2 "2024-03-17T05:40:27Z")

</div>

I’ve had time today to go back and try to rename the device and editable name, but to no avail it’s still not working. May just be due to the fact that i’m linking each device to each other.

---

<div class="post-metadata">

**Author:** ![Omniverse](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/omniverse/32/907699_2.png) [@Omniverse](https://forums.unrealengine.com/u/Omniverse)\
**Post date:** [March 17, 2024, 5:56am UTC](https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330/3 "2024-03-17T05:56:41Z")

</div>

I have tried to create an intermediary third device to see if it would fix the issue and it still persists. I have devices A, B, C. Connected A to C and C to B. B was linked to A and it still will cause crashing

---

<div class="post-metadata">

**Author:** ![bozzr1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bozzr1](https://forums.unrealengine.com/u/bozzr1)\
**Post date:** [March 19, 2024, 11:39am UTC](https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330/4 "2024-03-19T11:39:56Z")

</div>

I noticed tonight I’m experiencing the same issue, UEFN crashes when I have two Verse devices that reference each other.

My use case is I have a game controller device, and a mission controller device. My mission controller references my game controller to get global settings, then my game controller references missions to initialize them all.

That was what I was attempting to do anyway, I guess I’ll find another way.

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/997076_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [March 27, 2024, 4:52pm UTC](https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330/5 "2024-03-27T16:52:54Z")

</div>

The status of FORT-726119 incident has been moved from ‘In Testing’ to ‘Closed’. Resolution Reason: ‘Duplicate’

---

<div class="post-metadata">

**Author:** ![Benjf29](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benjf29/32/1204359_2.png) [@Benjf29](https://forums.unrealengine.com/u/Benjf29)\
**Post date:** [March 28, 2024, 1:14am UTC](https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330/6 "2024-03-28T01:14:26Z")

</div>

This probably the result of circular reference loop

This crash is produced because you declared your device as not optional

```auto
@editable
MathDev: math = math{}

```

It mean, math{} are automatically instanced, when UEFN load the file verse/ even the editable is not set.

if math contain the same declaration for the any name device, it like  
math → new instance of any name → new instance of math → new instance of any name → etc → etc → etc… finished by unreal crash.

To avoid this, you can use optional value on device declaration

```auto
@editable
MathDev : ?math = false

```

---

<div class="post-metadata">

**Author:** ![deedeefactory](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deedeefactory/32/921989_2.png) [@deedeefactory](https://forums.unrealengine.com/u/deedeefactory)\
**Post date:** [March 28, 2024, 1:30pm UTC](https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330/7 "2024-03-28T13:30:37Z")

</div>

Thank you, it works perfectly! 👌

---

<div class="post-metadata">

**Author:** ![russell.johnston](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@russell.johnston](https://forums.unrealengine.com/u/russell.johnston)\
**Post date:** [March 28, 2024, 7:04pm UTC](https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330/8 "2024-03-28T19:04:12Z")

</div>

Benjf29 is correct- circular references like this aren’t supported. We have an upcoming fix that will let the editor report this as an error instead of crashing.

---

<div class="post-metadata">

**Author:** ![MrZamoar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mrzamoar/32/942248_2.png) [@MrZamoar](https://forums.unrealengine.com/u/MrZamoar)\
**Post date:** [June 10, 2024, 1:20am UTC](https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330/9 "2024-06-10T01:20:51Z")

</div>

Thank you for updating us. I went into my logs because I was having a similar issue, so if the circular referencing issue isn’t already fixed, then there is still an issue with it crashing projects.

---

<div class="post-metadata">

**Author:** ![russell.johnston](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@russell.johnston](https://forums.unrealengine.com/u/russell.johnston)\
**Post date:** [June 10, 2024, 3:38pm UTC](https://forums.unrealengine.com/t/uefn-crashes-when-linking-verse-devices-to-eachother/1756330/10 "2024-06-10T15:38:53Z")

</div>

Thanks for letting us know- the fix hasn’t shipped yet, so you’re probably hitting the same bug.
