# Vector3 as Map key is seen as a compatible by Verse compiler while they are not and causes UEFN experience to crash when accessed.

**URL:** <https://forums.unrealengine.com/t/vector3-as-map-key-is-seen-as-a-compatible-by-verse-compiler-while-they-are-not-and-causes-uefn-experience-to-crash-when-accessed/2424375>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fixed, fortnite\
**Created:** [March 28, 2025, 2:18pm UTC](https://forums.unrealengine.com/t/vector3-as-map-key-is-seen-as-a-compatible-by-verse-compiler-while-they-are-not-and-causes-uefn-experience-to-crash-when-accessed/2424375 "2025-03-28T14:18:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![UberFiish](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UberFiish](https://forums.unrealengine.com/u/UberFiish)\
**Post date:** [March 28, 2025, 2:18pm UTC](https://forums.unrealengine.com/t/vector3-as-map-key-is-seen-as-a-compatible-by-verse-compiler-while-they-are-not-and-causes-uefn-experience-to-crash-when-accessed/2424375/1 "2025-03-28T14:18:05Z")

</div>

### Summary

Verse compiler does not detect vector3 as a key in a map as incompatible and does not mark it as an error.

( Example variable: ExampleMap: [vector3]int = map{vector3{}=\> 3}

Verse therefore builds normally and launches the game normally.  
But running a function that accesses “ExampleMap” will cause a “Network Connection Lost” crash. Basically freezing the UEFN experience and crashing it.  
Verse Documentation clearly shows vector3 are incompatible, yet the compiler does not mark this incompatibility as an error.

### Please select what you are reporting on:

Verse

### What Type of Bug are you experiencing?

Verse

### Steps to Reproduce

Create a verse device with this function:

```auto
    OnBegin<override>()<suspends>:void=
        ExampleMap: [vector3]int = map{vector3{}=> 1}

        Sleep(60.0) # You can remove/edit this sleep(), its here so the UEFN Experience can launch without instantly crashing to showcase this bug.
        Print("Starting game crasher lmao") # Prints before accessing code so you can see that the lines that follow (Accessing ExampleMap) causes a crash.
        Sleep(0.1) 

        for (Key->Value: ExampleMap):
            Print ("Filled map has an item")

```

Add and enable said device to your UEFN experience.

### Expected Result

Compiler should already be marking the “ExampleMap” as invalid, specifically pointing at the vector3 variable as the problem.  
Verse code build should therefore fail.

### Observed Result

Verse code builds normally. Project launches normally. UEFN experience freezes and crashes the moment the ExampleMap is accessed.

### Platform(s)

windows

---

<div class="post-metadata">

**Author:** ![Dizvooo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dizvooo](https://forums.unrealengine.com/u/Dizvooo)\
**Post date:** [September 1, 2025, 10:21pm UTC](https://forums.unrealengine.com/t/vector3-as-map-key-is-seen-as-a-compatible-by-verse-compiler-while-they-are-not-and-causes-uefn-experience-to-crash-when-accessed/2424375/5 "2025-09-01T22:21:28Z")

</div>

pls fix

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [September 24, 2025, 2:18pm UTC](https://forums.unrealengine.com/t/vector3-as-map-key-is-seen-as-a-compatible-by-verse-compiler-while-they-are-not-and-causes-uefn-experience-to-crash-when-accessed/2424375/7 "2025-09-24T14:18:52Z")

</div>

This topic was automatically closed after 180 days. New replies are no longer allowed.

---

<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:** [May 12, 2026, 7:00pm UTC](https://forums.unrealengine.com/t/vector3-as-map-key-is-seen-as-a-compatible-by-verse-compiler-while-they-are-not-and-causes-uefn-experience-to-crash-when-accessed/2424375/11 "2026-05-12T19:00:45Z")

</div>

FORT-957221 is ‘Closed’ as ‘Fixed’. The issue will be addressed in 42.00.
