# Struct losing data when passed to a Level Sequence event

**URL:** <https://forums.unrealengine.com/t/struct-losing-data-when-passed-to-a-level-sequence-event/2601458>\
**Category:** Programming & Scripting\
**Tags:** Struct, unreal-engine, sequence\
**Created:** [July 12, 2025, 7:58am UTC](https://forums.unrealengine.com/t/struct-losing-data-when-passed-to-a-level-sequence-event/2601458 "2025-07-12T07:58:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sirkamilo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sirkamilo](https://forums.unrealengine.com/u/Sirkamilo)\
**Post date:** [July 12, 2025, 7:58am UTC](https://forums.unrealengine.com/t/struct-losing-data-when-passed-to-a-level-sequence-event/2601458/1 "2025-07-12T07:58:40Z")

</div>

I created a voice line system to use in level sequence cutscenes. A custom event accepts the S\_VoiceLines struct, and plays one or more voice lines in a row, with a synchronized speech bubble and text.

The bug: If the S\_VoiceLines contains only a single voice line, the struct that gets passed to the event has length=0 instead of length=1. If I pass two voice lines, both arrive correctly. I tried passing an empty voice line, and it got ignored, still length=0.

For now my workaround was to create an empty A\_Silence\_Cue, pass it as an additional voice line, and in the actual handling detect and skip it. But that’s just avoiding some root issue that I would rather fix or have fixed in Unreal.

 ![S_VoiceLine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/a/cdaa6a352da7708f6195c98fd24f715b0fcc709f.png)

 ![S_VoiceLines](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/9/5b9ece87ae6b56423d3c424b7855644140a4b381.png)

 ![Level Sequence](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/1/0/f10ffc47643e232628eeaa4fda2cb6a00352cb53.png)

 ![Level Sequence Blueprint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/c/46cd7f564b0754b3bb6219b77ee89ea39c2e5ec8.png)
