# Doubly Linked List Bug in Verse Linked List Tutorial documentation 

**URL:** <https://forums.unrealengine.com/t/doubly-linked-list-bug-in-verse-linked-list-tutorial-documentation/2484201>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [April 30, 2025, 10:35pm UTC](https://forums.unrealengine.com/t/doubly-linked-list-bug-in-verse-linked-list-tutorial-documentation/2484201 "2025-04-30T22:35:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samplemailbox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@samplemailbox](https://forums.unrealengine.com/u/samplemailbox)\
**Post date:** [April 30, 2025, 10:35pm UTC](https://forums.unrealengine.com/t/doubly-linked-list-bug-in-verse-linked-list-tutorial-documentation/2484201/1 "2025-04-30T22:35:14Z")

</div>

### Summary

Dealing with a doubly linked list.

When CurrentNode is the tail of the list, after setting CurrentNode.Next to NewNode, NewNode is now the tail. NewNode’s Previous field should be set to CurrentNode

### Please select what you are reporting on:

Verse

### What Type of Bug are you experiencing?

Documentation

### Steps to Reproduce

> **[Linked Lists in Verse | Fortnite Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/fortnite/linked-lists-in-verse?)**
>
> Use Verse to create a data structure that links nodes from head to tail

Just before the heading “Removing Nodes” and right after “you have to remember to set the Previous reference for each node as well”,

Click expand code and look at AddNodeAfter function

### Expected Result

set CurrentNode.Next = option{NewNode}  
set NewNode.Previous = option{CurrentNode}

### Observed Result

set CurrentNode.Next = option{NewNode}

### Platform(s)

Website

---

<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:** [October 27, 2025, 10:35pm UTC](https://forums.unrealengine.com/t/doubly-linked-list-bug-in-verse-linked-list-tutorial-documentation/2484201/2 "2025-10-27T22:35:43Z")

</div>

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