# \#structs

**URL:** https://forums.unrealengine.com/tag/structs/7957.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [I am trying to get a variable from a struct at a clicked location on a grid  ](https://forums.unrealengine.com/t/i-am-trying-to-get-a-variable-from-a-struct-at-a-clicked-location-on-a-grid/2494795)

<div class="topic-metadata">

**Author:** [@CodeVapor1](https://forums.unrealengine.com/u/CodeVapor1)\
**Replies:** 4\
**Last updated:** [May 7, 2025, 10:49pm UTC](https://forums.unrealengine.com/t/i-am-trying-to-get-a-variable-from-a-struct-at-a-clicked-location-on-a-grid/2494795 "2025-05-07T22:49:52Z")

</div>

I asked chatgpt for a little help with not looping though every slot i have in the grid and instead just getting the index from the slot i clicked on, but it told me to get the array of structs(in my case the Grid\_Slo…

---

## [\[STRUCTS\] How to fix warning "The identifier 'GENERATED\_USTRUCT\_BODY' was detected in a block being skipped. Was this intentional?"](https://forums.unrealengine.com/t/structs-how-to-fix-warning-the-identifier-generated-ustruct-body-was-detected-in-a-block-being-skipped-was-this-intentional/755064)

<div class="topic-metadata">

**Author:** [@L.F.A](https://forums.unrealengine.com/u/L.F.A)\
**Replies:** 12\
**Last updated:** [October 26, 2023, 7:28pm UTC](https://forums.unrealengine.com/t/structs-how-to-fix-warning-the-identifier-generated-ustruct-body-was-detected-in-a-block-being-skipped-was-this-intentional/755064 "2023-10-26T19:28:00Z")

</div>

Hi there, I am trying to create a struct consisting of a few parameters. However, when compiling the solution, the mentioned warning occurs. Here is a snippet of the code. Any help is appreciated: USTRUCT(BlueprintType…

---

## [Write Large UStruct to a Single String](https://forums.unrealengine.com/t/write-large-ustruct-to-a-single-string/402785)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cbe433ac](https://forums.unrealengine.com/u/anonymous_user_cbe433ac)\
**Replies:** 4\
**Last updated:** [January 1, 2023, 7:16pm UTC](https://forums.unrealengine.com/t/write-large-ustruct-to-a-single-string/402785 "2023-01-01T19:16:07Z")

</div>

In the editor, you can copy an entire data structure to a single string, and paste it into a new one. It’s very handy, but let’s say I want to generate that data ingame and write that same string to a file so I can copy …

---

## [Is there an Editor Extention, to split the struct Editor differently?](https://forums.unrealengine.com/t/is-there-an-editor-extention-to-split-the-struct-editor-differently/524249)

<div class="topic-metadata">

**Author:** [@BDC\_Patrick](https://forums.unrealengine.com/u/BDC_Patrick)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 10:02am UTC](https://forums.unrealengine.com/t/is-there-an-editor-extention-to-split-the-struct-editor-differently/524249 "2022-04-11T10:02:51Z")

</div>

Hi there… You may know the Struct Editor of the UE Editor. You add/remove/move types on the Top side, and edit their default values on the bottom side… This splitting of the Viewport, is a bit annoying, when working on…

---

## [Why can I not access the value of a Class Reference in a struct?](https://forums.unrealengine.com/t/why-can-i-not-access-the-value-of-a-class-reference-in-a-struct/489492)

<div class="topic-metadata">

**Author:** [@AphraelAmarantha](https://forums.unrealengine.com/u/AphraelAmarantha)\
**Replies:** 1\
**Last updated:** [October 4, 2021, 7:58pm UTC](https://forums.unrealengine.com/t/why-can-i-not-access-the-value-of-a-class-reference-in-a-struct/489492 "2021-10-04T19:58:30Z")

</div>

Hello! I am trying to create a save/loading system for a prototype I am building for a first person dungeon crawler. However, I cannot access the class that I need to save it to the save file. It returns null when I atte…

---

## ["bUseUnity = false" + SListView = errors](https://forums.unrealengine.com/t/buseunity-false-slistview-errors/470657)

<div class="topic-metadata">

**Author:** [@pDunkl](https://forums.unrealengine.com/u/pDunkl)\
**Replies:** 1\
**Last updated:** [September 1, 2020, 8:08pm UTC](https://forums.unrealengine.com/t/buseunity-false-slistview-errors/470657 "2020-09-01T20:08:33Z")

</div>

Hi, my project makes extensive use of the SListview template class, and eveything compiles fine with bUseUnity = true in the .Build.cs file. But as soon as I set bUseUnity (previously called: bUseUnityBuild) to false, t…

---

## [About Get Data Table Row node](https://forums.unrealengine.com/t/about-get-data-table-row-node/470582)

<div class="topic-metadata">

**Author:** [@Boscox](https://forums.unrealengine.com/u/Boscox)\
**Replies:** 3\
**Last updated:** [August 31, 2020, 6:24pm UTC](https://forums.unrealengine.com/t/about-get-data-table-row-node/470582 "2020-08-31T18:24:12Z")

</div>

Say that we have 2 different types of bullets and each time we are shooting the gun, we are checking which one is on the chamber to be able to get quite a lot of variables of that specific bullet from the database row. …

---

## [Code design issue using interfaces to interact with objects](https://forums.unrealengine.com/t/code-design-issue-using-interfaces-to-interact-with-objects/464391)

<div class="topic-metadata">

**Author:** [@Xeru98](https://forums.unrealengine.com/u/Xeru98)\
**Replies:** 0\
**Last updated:** [April 28, 2020, 6:37pm UTC](https://forums.unrealengine.com/t/code-design-issue-using-interfaces-to-interact-with-objects/464391 "2020-04-28T18:37:12Z")

</div>

I’m working on a project where the user will have the ability to modify different properties on server owned objects. The current plan is to have all objects that can be interacted with implement some sort of interface t…

---

## [Sprite Asset Set as Default Value In a Struct is Set To None When That Sprite is Renamed and Engine Restarted](https://forums.unrealengine.com/t/sprite-asset-set-as-default-value-in-a-struct-is-set-to-none-when-that-sprite-is-renamed-and-engine-restarted/455000)

<div class="topic-metadata">

**Author:** [@Agent\_Sckit](https://forums.unrealengine.com/u/Agent_Sckit)\
**Replies:** 2\
**Last updated:** [September 10, 2019, 12:47am UTC](https://forums.unrealengine.com/t/sprite-asset-set-as-default-value-in-a-struct-is-set-to-none-when-that-sprite-is-renamed-and-engine-restarted/455000 "2019-09-10T00:47:24Z")

</div>

Good day. I have a problem with regards to renaming sprite assets. The issue is that setting default values for a sprite in a struct and renaming the sprite after would result in its default value to reset to “none” afte…

---

## [Sequencer Event Parameter Struct is null after triggering event once](https://forums.unrealengine.com/t/sequencer-event-parameter-struct-is-null-after-triggering-event-once/393030)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_52c45f28](https://forums.unrealengine.com/u/anonymous_user_52c45f28)\
**Replies:** 6\
**Last updated:** [February 12, 2019, 12:55pm UTC](https://forums.unrealengine.com/t/sequencer-event-parameter-struct-is-null-after-triggering-event-once/393030 "2019-02-12T12:55:17Z")

</div>

Hey, while working with the sequencer I encountered the following bug: I created an event track and set some keys which trigger a custom event in my Persistent Level BP. To pass values to the custom event I created a s…

---

## [Predefine array of struct with actor members](https://forums.unrealengine.com/t/predefine-array-of-struct-with-actor-members/441938)

<div class="topic-metadata">

**Author:** [@rebusb](https://forums.unrealengine.com/u/rebusb)\
**Replies:** 10\
**Last updated:** [January 24, 2019, 12:14am UTC](https://forums.unrealengine.com/t/predefine-array-of-struct-with-actor-members/441938 "2019-01-24T00:14:31Z")

</div>

This is for game logic. I have a number Switch Actors instanced in my level. Each switch can be off or on. I am trying to create an array of the switch instances with the correct state that solves the puzzle. Made a blue…

---

## [Unreal Engine 4.17 BUG when Use Structs Inner Structs](https://forums.unrealengine.com/t/unreal-engine-4-17-bug-when-use-structs-inner-structs/399913)

<div class="topic-metadata">

**Author:** [@CrashAngel](https://forums.unrealengine.com/u/CrashAngel)\
**Replies:** 2\
**Last updated:** [September 17, 2018, 7:26pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-17-bug-when-use-structs-inner-structs/399913 "2018-09-17T19:26:16Z")

</div>

Hi, There are already some versions that I have been following this error and I would like to offer it now … Just create two Structs and make one struct dependent on the other … When you change or add one more field in…

---

## [C++: Easy way to save a structure.](https://forums.unrealengine.com/t/c-easy-way-to-save-a-structure/432589)

<div class="topic-metadata">

**Author:** [@Aneos](https://forums.unrealengine.com/u/Aneos)\
**Replies:** 3\
**Last updated:** [August 31, 2018, 5:27pm UTC](https://forums.unrealengine.com/t/c-easy-way-to-save-a-structure/432589 "2018-08-31T17:27:23Z")

</div>

Hi. I’d like to save an array of structures from my player controller to a save game class. I could easely save other types of variables, because you can just create a variable and then transfer it. But if I create the e…

---

## [UStruct::FTableRowBase is Grayed Out in Blueprint](https://forums.unrealengine.com/t/ustruct-ftablerowbase-is-grayed-out-in-blueprint/419063)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_06725ff11](https://forums.unrealengine.com/u/anonymous_user_06725ff11)\
**Replies:** 2\
**Last updated:** [March 6, 2018, 1:48am UTC](https://forums.unrealengine.com/t/ustruct-ftablerowbase-is-grayed-out-in-blueprint/419063 "2018-03-06T01:48:33Z")

</div>

Been bashing my head against the wall for awhile now, hoping somebody will be able to help me here. I have a struct named FWeaponData that extends FTableRowBase: USTRUCT(BlueprintType) struct GENERIC\_API FWeaponD…

---

## [Export/Save Data into Data Table/Variable/File?](https://forums.unrealengine.com/t/export-save-data-into-data-table-variable-file/410304)

<div class="topic-metadata">

**Author:** [@devektiv](https://forums.unrealengine.com/u/devektiv)\
**Replies:** 1\
**Last updated:** [November 22, 2017, 12:39pm UTC](https://forums.unrealengine.com/t/export-save-data-into-data-table-variable-file/410304 "2017-11-22T12:39:37Z")

</div>

Structs. Look into structs and save game object.

---

## [Struct Will Only Set One Type of Variable from SaveGame, Based on Replication Setting](https://forums.unrealengine.com/t/struct-will-only-set-one-type-of-variable-from-savegame-based-on-replication-setting/409012)

<div class="topic-metadata">

**Author:** [@DjangoDurango](https://forums.unrealengine.com/u/DjangoDurango)\
**Replies:** 0\
**Last updated:** [November 8, 2017, 12:54am UTC](https://forums.unrealengine.com/t/struct-will-only-set-one-type-of-variable-from-savegame-based-on-replication-setting/409012 "2017-11-08T00:54:39Z")

</div>

So I have my GameMode’s post login event calling an event in my Player Controller, InitialSetup. This event, which is set to replicate to owning client, calls a function, LoadSettings, that takes settings (the user’s …

---

## [Adding new parameter to struct breaks game](https://forums.unrealengine.com/t/adding-new-parameter-to-struct-breaks-game/408862)

<div class="topic-metadata">

**Author:** [@Samuelb](https://forums.unrealengine.com/u/Samuelb)\
**Replies:** 4\
**Last updated:** [November 7, 2017, 12:48pm UTC](https://forums.unrealengine.com/t/adding-new-parameter-to-struct-breaks-game/408862 "2017-11-07T12:48:20Z")

</div>

Hi I recently changed my working player struct to have one extra parameter. After recreating my widgets with the new player info, every time i reopen my project the displayed player info on my widgets break. How can i f…

---

## [Structures returning wrong references in 4.17.2](https://forums.unrealengine.com/t/structures-returning-wrong-references-in-4-17-2/405941)

<div class="topic-metadata">

**Author:** [@Ore\_Creative](https://forums.unrealengine.com/u/Ore_Creative)\
**Replies:** 0\
**Last updated:** [October 2, 2017, 2:26am UTC](https://forums.unrealengine.com/t/structures-returning-wrong-references-in-4-17-2/405941 "2017-10-02T02:26:58Z")

</div>

Structures returning wrong references in 4.17.2. Basically make a structure of static meshes. Copy and past that struct in the content browsers and then change the meshes inside it and the structs name. At this point you…

---

## [Yellow warning logs about structs](https://forums.unrealengine.com/t/yellow-warning-logs-about-structs/401904)

<div class="topic-metadata">

**Author:** [@mahlukat](https://forums.unrealengine.com/u/mahlukat)\
**Replies:** 0\
**Last updated:** [August 13, 2017, 11:04am UTC](https://forums.unrealengine.com/t/yellow-warning-logs-about-structs/401904 "2017-08-13T11:04:17Z")

</div>

Hi, my project works perfect. Just I have yellow messages about null references in structs. But my blueprint based on this null objects, because I have an inventory system and when I load new level, I search empty struc…

---

## [Structs have become broken](https://forums.unrealengine.com/t/structs-have-become-broken/393599)

<div class="topic-metadata">

**Author:** [@Piranhi](https://forums.unrealengine.com/u/Piranhi)\
**Replies:** 1\
**Last updated:** [May 15, 2017, 7:34pm UTC](https://forums.unrealengine.com/t/structs-have-become-broken/393599 "2017-05-15T19:34:11Z")

</div>

Hey, I’m not sure what happened, but all of a sudden my structs have broken when trying to package the game. They work fine in editor, but I now can’t package to android. I’ve uploaded the log about the structs. Chee…

---

## [How do I get my TArray of USTRUCTS defined in C++ to show up in Blueprint?](https://forums.unrealengine.com/t/how-do-i-get-my-tarray-of-ustructs-defined-in-c-to-show-up-in-blueprint/391663)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a4811d36](https://forums.unrealengine.com/u/anonymous_user_a4811d36)\
**Replies:** 1\
**Last updated:** [April 23, 2017, 2:42am UTC](https://forums.unrealengine.com/t/how-do-i-get-my-tarray-of-ustructs-defined-in-c-to-show-up-in-blueprint/391663 "2017-04-23T02:42:46Z")

</div>

Hi, I’ve defined a struct and I have a Tarray of it and I’ve set the Tarray as EditAnywhere and BlueprintReadWrite but it won’t show up in the blueprint when I search for it. It shows up in the details panel, and the cod…

---

## [Set members in Struct issues](https://forums.unrealengine.com/t/set-members-in-struct-issues/381235)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_40a407b6](https://forums.unrealengine.com/u/anonymous_user_40a407b6)\
**Replies:** 1\
**Last updated:** [January 8, 2017, 9:43am UTC](https://forums.unrealengine.com/t/set-members-in-struct-issues/381235 "2017-01-08T09:43:52Z")

</div>

I have a struct which contains an array of bool variables. When I try to use “set Members of Struct” node, it does nothing. Is this set up properly? If not, how do I set it up properly?

---

## [Blueprint Structs - Not displaying all variables](https://forums.unrealengine.com/t/blueprint-structs-not-displaying-all-variables/376979)

<div class="topic-metadata">

**Author:** [@SaviorNT](https://forums.unrealengine.com/u/SaviorNT)\
**Replies:** 1\
**Last updated:** [November 21, 2016, 4:17pm UTC](https://forums.unrealengine.com/t/blueprint-structs-not-displaying-all-variables/376979 "2016-11-21T16:17:40Z")

</div>

When using a struct with more than 32 variables, the struct window will not display them all, nor is there a vertical scroll bar. Also the right section to add or modify a new or existing variable is not displayed. In t…

---

## [What are the limitations on the types of variables that can be handled by the Savegame system?](https://forums.unrealengine.com/t/what-are-the-limitations-on-the-types-of-variables-that-can-be-handled-by-the-savegame-system/371224)

<div class="topic-metadata">

**Author:** [@NickCaligo42](https://forums.unrealengine.com/u/NickCaligo42)\
**Replies:** 1\
**Last updated:** [September 22, 2016, 11:51am UTC](https://forums.unrealengine.com/t/what-are-the-limitations-on-the-types-of-variables-that-can-be-handled-by-the-savegame-system/371224 "2016-09-22T11:51:21Z")

</div>

What it says in the header. What kinds of variables can the savegame system handle? Is it limited only to primitive variable types (int, bool, etc.), or am I able to save structs as well?

---

## [Struct variable with same type as parent struct](https://forums.unrealengine.com/t/struct-variable-with-same-type-as-parent-struct/312764)

<div class="topic-metadata">

**Author:** [@TriNityGER](https://forums.unrealengine.com/u/TriNityGER)\
**Replies:** 2\
**Last updated:** [September 4, 2016, 12:26am UTC](https://forums.unrealengine.com/t/struct-variable-with-same-type-as-parent-struct/312764 "2016-09-04T00:26:52Z")

</div>

Hey I have a question regarding Struct Variables. I want to create an Octree so I made a Node struct. As usual with trees, nodes can contain other nodes(either 0 or 8 in this case) of the same struct type. Unfortunately…

---

## [How to safely modify structs when blueprints already reference them?](https://forums.unrealengine.com/t/how-to-safely-modify-structs-when-blueprints-already-reference-them/297779)

<div class="topic-metadata">

**Author:** [@Danielsh09](https://forums.unrealengine.com/u/Danielsh09)\
**Replies:** 1\
**Last updated:** [August 31, 2016, 3:48pm UTC](https://forums.unrealengine.com/t/how-to-safely-modify-structs-when-blueprints-already-reference-them/297779 "2016-08-31T15:48:51Z")

</div>

Hi, I have been having a problem where if I add a variable in a struct while the blueprints are already referencing them, I get a bunch of errors that persist even when it is simply adding a new variable. I so far have …

---

## [Problem with Arrays inside Structs \[Blueprints\]. \[4.7.4-4.7.5\]](https://forums.unrealengine.com/t/problem-with-arrays-inside-structs-blueprints-4-7-4-4-7-5/314568)

<div class="topic-metadata">

**Author:** [@Helghast](https://forums.unrealengine.com/u/Helghast)\
**Replies:** 4\
**Last updated:** [August 18, 2016, 1:28pm UTC](https://forums.unrealengine.com/t/problem-with-arrays-inside-structs-blueprints-4-7-4-4-7-5/314568 "2016-08-18T13:28:33Z")

</div>

Hi everyone! I have a SaveGame Blueprint, with a Struct with multiple Arrays within. Arrays contains integers, booleans, etc. From Player Blueprint or PlayerController Blueprint I can get data from these Arrays and I…

---

## [Multicast not sending a structure to clients](https://forums.unrealengine.com/t/multicast-not-sending-a-structure-to-clients/365129)

<div class="topic-metadata">

**Author:** [@The-Boon](https://forums.unrealengine.com/u/The-Boon)\
**Replies:** 0\
**Last updated:** [July 25, 2016, 7:31pm UTC](https://forums.unrealengine.com/t/multicast-not-sending-a-structure-to-clients/365129 "2016-07-25T19:31:40Z")

</div>

I’m creating a project that requires all data, in order to try save bandwidth and time I checking if the file exists and has the same data modified as the host, when i pass the file name and the data structure everything…

---

## [\[Bug\] copying Strings in a strut](https://forums.unrealengine.com/t/bug-copying-strings-in-a-strut/359193)

<div class="topic-metadata">

**Author:** [@johnfg10](https://forums.unrealengine.com/u/johnfg10)\
**Replies:** 7\
**Last updated:** [June 1, 2016, 7:59pm UTC](https://forums.unrealengine.com/t/bug-copying-strings-in-a-strut/359193 "2016-06-01T19:59:05Z")

</div>

I was making a inventory system for my game and needed a strut to store strings so i made one once made i decided i want each one to have a defult of “Empty” so i used CTRL + V and poof editor crashed and i lost 10 mins …

---

## [Editing Data Tables caused editor crashes since 4.11.2](https://forums.unrealengine.com/t/editing-data-tables-caused-editor-crashes-since-4-11-2/359244)

<div class="topic-metadata">

**Author:** [@Raidfire.Net](https://forums.unrealengine.com/u/Raidfire.Net)\
**Replies:** 4\
**Last updated:** [June 1, 2016, 6:40pm UTC](https://forums.unrealengine.com/t/editing-data-tables-caused-editor-crashes-since-4-11-2/359244 "2016-06-01T18:40:09Z")

</div>

Hi Epic Games, as the title says, whenever i edit a data table, the editor crashes. First i thought it is because of changing the struct, but i have tested it: I have created a test struct, then created a data table a…

[Next page](https://forums.unrealengine.com/tag/structs/7957.md?match_all_tags=true&page=1&tags%5B%5D=structs)
