# \#Struct

**URL:** https://forums.unrealengine.com/tag/struct/1484.md

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

---

## [Why is there no "New C++ Struct" option?](https://forums.unrealengine.com/t/why-is-there-no-new-c-struct-option/2745392)

<div class="topic-metadata">

**Author:** [@BudgetArms](https://forums.unrealengine.com/u/BudgetArms)\
**Replies:** 7\
**Last updated:** [September 26, 2026, 3:22pm UTC](https://forums.unrealengine.com/t/why-is-there-no-new-c-struct-option/2745392 "2026-09-26T15:22:40Z")

</div>

Under Tools, there’s an option “New C++ Class”, which allows the creation of C++ classes and to see what classes derive from what other classes. Overall, it makes it way easier to create an unreal class, compared to man…

---

## [How to write constructor for custom struct](https://forums.unrealengine.com/t/how-to-write-constructor-for-custom-struct/341749)

<div class="topic-metadata">

**Author:** [@SiberianExpress](https://forums.unrealengine.com/u/SiberianExpress)\
**Replies:** 3\
**Last updated:** [September 22, 2026, 9:03am UTC](https://forums.unrealengine.com/t/how-to-write-constructor-for-custom-struct/341749 "2026-09-22T09:03:57Z")

</div>

I created a custom struct “FIntVector2D” simply a 2D integer vector using the FIntVector template. file ObjectLib.h \> #include "Engine/ObjectLibrary.h" \> #include "ObjectLib.generated.h" \> \> USTRUCT(im…

---

## [Set Members in Structure Not Saving](https://forums.unrealengine.com/t/set-members-in-structure-not-saving/2737324)

<div class="topic-metadata">

**Author:** [@Donny000](https://forums.unrealengine.com/u/Donny000)\
**Replies:** 6\
**Last updated:** [July 23, 2026, 2:57am UTC](https://forums.unrealengine.com/t/set-members-in-structure-not-saving/2737324 "2026-07-23T02:57:39Z")

</div>

Hey helpful forum people, I’m trying to be clever by using a single function to be able to alter my player’s stats, however it’s backfiring on me. My PlayerCharacter blueprint has a custom actor component (StatsComponen…

---

## [C++ for a blueprint user - Calling (fDisplayMetrics) to Specify execute on non-primary monitor](https://forums.unrealengine.com/t/c-for-a-blueprint-user-calling-fdisplaymetrics-to-specify-execute-on-non-primary-monitor/376170)

<div class="topic-metadata">

**Author:** [@superbjenks](https://forums.unrealengine.com/u/superbjenks)\
**Replies:** 5\
**Last updated:** [June 28, 2026, 11:01am UTC](https://forums.unrealengine.com/t/c-for-a-blueprint-user-calling-fdisplaymetrics-to-specify-execute-on-non-primary-monitor/376170 "2026-06-28T11:01:21Z")

</div>

Uncharted Territory for me, I have an actual C++ script I need to run before or when the game runs that detects how many monitors the system has and then start it on the second monitor. I have the code available from; …

---

## [Blueprint struct, Unknown structure, crash](https://forums.unrealengine.com/t/blueprint-struct-unknown-structure-crash/285534)

<div class="topic-metadata">

**Author:** [@ZoltanE](https://forums.unrealengine.com/u/ZoltanE)\
**Replies:** 13\
**Last updated:** [April 16, 2026, 2:57am UTC](https://forums.unrealengine.com/t/blueprint-struct-unknown-structure-crash/285534 "2026-04-16T02:57:59Z")

</div>

I changed the type of a variable in a blueprint defined structure and relinked/recompiled all related blueprints. However on PIE the editor crashed and since then it crashes when accessing any blueprint using the struct: …

---

## [Unknown Structure](https://forums.unrealengine.com/t/unknown-structure/2603934)

<div class="topic-metadata">

**Author:** [@T4l\_R](https://forums.unrealengine.com/u/T4l_R)\
**Replies:** 1\
**Last updated:** [April 16, 2026, 2:42am UTC](https://forums.unrealengine.com/t/unknown-structure/2603934 "2026-04-16T02:42:27Z")

</div>

How can I solve the “unknown structure” error that shows up when I try to package my project, when the error shows it’s happening inside a blueprint interface (Where there’s no option to refresh nodes)?

---

## [\[Quick BP to C++\] Core Redirector - Asset to C++](https://forums.unrealengine.com/t/quick-bp-to-c-core-redirector-asset-to-c/565108)

<div class="topic-metadata">

**Author:** [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Replies:** 18\
**Last updated:** [March 13, 2026, 8:16am UTC](https://forums.unrealengine.com/t/quick-bp-to-c-core-redirector-asset-to-c/565108 "2026-03-13T08:16:43Z")

</div>

Added a struct core redirector in \\Config\\DefaultEngine.ini, tested in the following formats (not all at once): \[CoreRedirects\] +StructRedirects=(OldName="/Game/\_Core/Data/Structs/World/Weather/Seasonal/S\_OLD\_Weather\_Se…

---

## [Is it possible to forward declare TUniquePtr?](https://forums.unrealengine.com/t/is-it-possible-to-forward-declare-tuniqueptr/552946)

<div class="topic-metadata">

**Author:** [@KaidoomDev](https://forums.unrealengine.com/u/KaidoomDev)\
**Replies:** 3\
**Last updated:** [February 12, 2026, 6:28pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-forward-declare-tuniqueptr/552946 "2026-02-12T18:28:41Z")

</div>

Hi, This compiles fine using TSharedPtr in CPP However changing to TUniquePtr doesn’t compile CPP I understand I have to include the header file where that struct exists but is there no way to forward decl…

---

## [Blueprint WeatherManager using MPCs and Structs ](https://forums.unrealengine.com/t/blueprint-weathermanager-using-mpcs-and-structs/2662669)

<div class="topic-metadata">

**Author:** [@Justaguy94](https://forums.unrealengine.com/u/Justaguy94)\
**Replies:** 0\
**Last updated:** [October 6, 2025, 1:09pm UTC](https://forums.unrealengine.com/t/blueprint-weathermanager-using-mpcs-and-structs/2662669 "2025-10-06T13:09:35Z")

</div>

im attempting to make a weathermanager using mpcs and structs, curious of any limitations to this process, as of now ive built my calendar and atmosphere modules. Currently working on hydrology and lighting modules. Ever…

---

## [Struct losing data when passed to a Level Sequence event](https://forums.unrealengine.com/t/struct-losing-data-when-passed-to-a-level-sequence-event/2601458)

<div class="topic-metadata">

**Author:** [@Sirkamilo](https://forums.unrealengine.com/u/Sirkamilo)\
**Replies:** 0\
**Last updated:** [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")

</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…

---

## [Enum, Struct variables select in project window shortcut](https://forums.unrealengine.com/t/enum-struct-variables-select-in-project-window-shortcut/2572497)

<div class="topic-metadata">

**Author:** [@pmaximus](https://forums.unrealengine.com/u/pmaximus)\
**Replies:** 0\
**Last updated:** [June 23, 2025, 4:44pm UTC](https://forums.unrealengine.com/t/enum-struct-variables-select-in-project-window-shortcut/2572497 "2025-06-23T16:44:38Z")

</div>

Hello, I would really love to have a Browse button that selects an enum or struct in the Content Browser. Right now, if I want to find these assets, I have to search through the entire project manually. It could al…

---

## [Handling (F)PropertyChangedEvent for Editor Events](https://forums.unrealengine.com/t/handling-f-propertychangedevent-for-editor-events/2526032)

<div class="topic-metadata">

**Author:** [@AgentNeoslav](https://forums.unrealengine.com/u/AgentNeoslav)\
**Replies:** 1\
**Last updated:** [May 25, 2025, 11:49am UTC](https://forums.unrealengine.com/t/handling-f-propertychangedevent-for-editor-events/2526032 "2025-05-25T11:49:14Z")

</div>

Hello together, i’d like to create some children of SceneComponents, which inherit FStructs, which inherit FMaps of Enums and Fstructs, which inherit something. You get where this is going. The Parameters of the FStruc…

---

## [AssetManager - InstancedStruct - Unable to Load Bundles ](https://forums.unrealengine.com/t/assetmanager-instancedstruct-unable-to-load-bundles/2508560)

<div class="topic-metadata">

**Author:** [@Soccertitan11](https://forums.unrealengine.com/u/Soccertitan11)\
**Replies:** 0\
**Last updated:** [May 13, 2025, 5:27pm UTC](https://forums.unrealengine.com/t/assetmanager-instancedstruct-unable-to-load-bundles/2508560 "2025-05-13T17:27:56Z")

</div>

I have a primary data asset that inherits from UPrimaryDataAsset. When I try to asynch load the asset, asset bundles that are marked within TInstancedStructs do not get loaded. For example, in this UPROPERTY I have defin…

---

## [Error C4430: missing type specifier - int assumed. Note: C++ does not support default-int](https://forums.unrealengine.com/t/error-c4430-missing-type-specifier-int-assumed-note-c-does-not-support-default-int/487372)

<div class="topic-metadata">

**Author:** [@Samathan](https://forums.unrealengine.com/u/Samathan)\
**Replies:** 3\
**Last updated:** [May 9, 2025, 2:06pm UTC](https://forums.unrealengine.com/t/error-c4430-missing-type-specifier-int-assumed-note-c-does-not-support-default-int/487372 "2025-05-09T14:06:20Z")

</div>

Edit: This turned out to be a problem caused by Unreal not including the .generated file when creating the class. I added it in manually and it works fine. I’m trying to define a ustruct in C++ with this code: USTRUCT(…

---

## [Runtime error on add item to array](https://forums.unrealengine.com/t/runtime-error-on-add-item-to-array/2496183)

<div class="topic-metadata">

**Author:** [@CodeVapor1](https://forums.unrealengine.com/u/CodeVapor1)\
**Replies:** 0\
**Last updated:** [May 7, 2025, 11:36pm UTC](https://forums.unrealengine.com/t/runtime-error-on-add-item-to-array/2496183 "2025-05-07T23:36:36Z")

</div>

i have a grid spawning system that makes the actor spawn when a specific grid slot is clicked, I am receiving an error at run time ( accessed none trying to read call function finish spawning actor\_return value) from…

---

## [Struct data does not get replicated](https://forums.unrealengine.com/t/struct-data-does-not-get-replicated/2454533)

<div class="topic-metadata">

**Author:** [@Xhuljan](https://forums.unrealengine.com/u/Xhuljan)\
**Replies:** 5\
**Last updated:** [April 15, 2025, 11:45am UTC](https://forums.unrealengine.com/t/struct-data-does-not-get-replicated/2454533 "2025-04-15T11:45:25Z")

</div>

Hello everyone, I’m looking for help solving a frustrating issue I’ve been stuck on for a while. Despite trying several approaches, I can’t get it to work as expected. TL;DR Struct data in GameState is not replicating…

---

## [Set array element in Struct in Struct: SOLUTION](https://forums.unrealengine.com/t/set-array-element-in-struct-in-struct-solution/383593)

<div class="topic-metadata">

**Author:** [@Taratus](https://forums.unrealengine.com/u/Taratus)\
**Replies:** 3\
**Last updated:** [March 25, 2025, 5:49pm UTC](https://forums.unrealengine.com/t/set-array-element-in-struct-in-struct-solution/383593 "2025-03-25T17:49:28Z")

</div>

It took some time to figure out a way to change a variable that’s in a Struct array and this is again in a Struct array. For those who also have this problem I post my solution. I’m looking forward to see maybe better on…

---

## [Editor crashes after adding varible to struct then compiling ](https://forums.unrealengine.com/t/editor-crashes-after-adding-varible-to-struct-then-compiling/2377152)

<div class="topic-metadata">

**Author:** [@Benstanke](https://forums.unrealengine.com/u/Benstanke)\
**Replies:** 0\
**Last updated:** [March 6, 2025, 2:07am UTC](https://forums.unrealengine.com/t/editor-crashes-after-adding-varible-to-struct-then-compiling/2377152 "2025-03-06T02:07:56Z")

</div>

I am a couple of years into this project with no previous issues with structures, however recently when I try to add a variable to one of my structures it crashes the editor after compiling. It always produces the error…

---

## [Where is a Hit Result members?](https://forums.unrealengine.com/t/where-is-a-hit-result-members/2354438)

<div class="topic-metadata">

**Author:** [@chofuqiushan](https://forums.unrealengine.com/u/chofuqiushan)\
**Replies:** 2\
**Last updated:** [February 25, 2025, 5:05am UTC](https://forums.unrealengine.com/t/where-is-a-hit-result-members/2354438 "2025-02-25T05:05:12Z")

</div>

Maybe that’s a bit of a goofy question. I am trying to assign additional information to an unused item in the Hit Result, but no matter how hard I search, I cannot find any members of the Hit Result. Where on earth is …

---

## [UDataTable pointer of specific type](https://forums.unrealengine.com/t/udatatable-pointer-of-specific-type/479992)

<div class="topic-metadata">

**Author:** [@GenerationLost](https://forums.unrealengine.com/u/GenerationLost)\
**Replies:** 2\
**Last updated:** [February 24, 2025, 11:28pm UTC](https://forums.unrealengine.com/t/udatatable-pointer-of-specific-type/479992 "2025-02-24T23:28:56Z")

</div>

I need a reference to a data table, so a pointer to UDataTable, but I also need to differentiate the struct this table is using. As an example, I’ve got multiple data tables that use the same struct that contains some c…

---

## [Broken References to Structs and Enums ](https://forums.unrealengine.com/t/broken-references-to-structs-and-enums/2312684)

<div class="topic-metadata">

**Author:** [@raptorred67](https://forums.unrealengine.com/u/raptorred67)\
**Replies:** 4\
**Last updated:** [February 4, 2025, 5:08am UTC](https://forums.unrealengine.com/t/broken-references-to-structs-and-enums/2312684 "2025-02-04T05:08:58Z")

</div>

Hello there, I guess I fumbled the migration of a project containing some tools I built for UE. I tried to migrate it from an old project to a fresh one, changing the folder structure of the project. Old: “/Game/Sponza…

---

## [Signature Error: The function/event '' does not match the necessary signature - has the delegate or function/event changed?](https://forums.unrealengine.com/t/signature-error-the-function-event-does-not-match-the-necessary-signature-has-the-delegate-or-function-event-changed/724030)

<div class="topic-metadata">

**Author:** [@digitalritualstudio](https://forums.unrealengine.com/u/digitalritualstudio)\
**Replies:** 9\
**Last updated:** [January 20, 2025, 9:16pm UTC](https://forums.unrealengine.com/t/signature-error-the-function-event-does-not-match-the-necessary-signature-has-the-delegate-or-function-event-changed/724030 "2025-01-20T21:16:40Z")

</div>

Hi I’m currently trying to make an Asynchronous “EOS Find Sessions” Node in C++ and I’d like to return a TArray as an output. The FEOSFindSessionResultStruct is custom which currently holds two FString Properties. Allt…

---

## [Templated USTRUCT?](https://forums.unrealengine.com/t/templated-ustruct/354096)

<div class="topic-metadata">

**Author:** [@MichaelWion](https://forums.unrealengine.com/u/MichaelWion)\
**Replies:** 8\
**Last updated:** [January 7, 2025, 2:01am UTC](https://forums.unrealengine.com/t/templated-ustruct/354096 "2025-01-07T02:01:08Z")

</div>

Is there any way to use templates/generics on USTRUCT objects (or even UCLASS)? For example, something like the following: USTRUCT(Blueprintable, Category = "Scripting|Remote Character|Attributes") template\<typename Ty…

---

## [Struct becomes hidden ](https://forums.unrealengine.com/t/struct-becomes-hidden/2250998)

<div class="topic-metadata">

**Author:** [@DoobG](https://forums.unrealengine.com/u/DoobG)\
**Replies:** 0\
**Last updated:** [December 30, 2024, 7:23pm UTC](https://forums.unrealengine.com/t/struct-becomes-hidden/2250998 "2024-12-30T19:23:07Z")

</div>

I created a C++ class named SubtitleStruct. In the .h file, I defined a struct as follows: #pragma once include “CoreMinimal.h” include “UObject/NoExportTypes.h” include “Engine/DataTable.h” include “SubtitleStruct.…

---

## [FS\_Test::ID is not initialized properly](https://forums.unrealengine.com/t/fs-test-id-is-not-initialized-properly/560690)

<div class="topic-metadata">

**Author:** [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Replies:** 17\
**Last updated:** [December 23, 2024, 2:39pm UTC](https://forums.unrealengine.com/t/fs-test-id-is-not-initialized-properly/560690 "2024-12-23T14:39:54Z")

</div>

Why do FGuids within c++ structs cause the error “FSomeStruct::SomeFGuid is not initialized properly.” in the following struct format? USTRUCT(BlueprintType) struct FS\_Test : public FTableRowBase { GENERATED\_BODY() …

---

## [\[4.15\] DataTable, recompile and hotreload bug](https://forums.unrealengine.com/t/4-15-datatable-recompile-and-hotreload-bug/388141)

<div class="topic-metadata">

**Author:** [@Sveitar](https://forums.unrealengine.com/u/Sveitar)\
**Replies:** 12\
**Last updated:** [November 26, 2024, 5:21pm UTC](https://forums.unrealengine.com/t/4-15-datatable-recompile-and-hotreload-bug/388141 "2024-11-26T17:21:14Z")

</div>

I added two new properties to my table row struct in C++ and then compiled using hot-reload. The two new properties were not showing on my datatable editor so I restarted the editor. Once I restarted the editor I found…

---

## [Choose clients receiving updates from Custom Struct Serialization Networking](https://forums.unrealengine.com/t/choose-clients-receiving-updates-from-custom-struct-serialization-networking/2140301)

<div class="topic-metadata">

**Author:** [@Supermatta321](https://forums.unrealengine.com/u/Supermatta321)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 9:25am UTC](https://forums.unrealengine.com/t/choose-clients-receiving-updates-from-custom-struct-serialization-networking/2140301 "2024-11-21T09:25:01Z")

</div>

How do i choose which clients the server are sending the updates from Custom Struct Serialization Networking to?

---

## [How to stop case correction when converting from Struct to JSON in Packaged Build?](https://forums.unrealengine.com/t/how-to-stop-case-correction-when-converting-from-struct-to-json-in-packaged-build/450097)

<div class="topic-metadata">

**Author:** [@LastOfRamoria](https://forums.unrealengine.com/u/LastOfRamoria)\
**Replies:** 6\
**Last updated:** [November 7, 2024, 9:50pm UTC](https://forums.unrealengine.com/t/how-to-stop-case-correction-when-converting-from-struct-to-json-in-packaged-build/450097 "2024-11-07T21:50:36Z")

</div>

Have a custom struct I’m trying to convert to JSON. It successfully converts to JSON with the correct capitalization (matching the variable names of the struct) in the editor, but the capitalization on the variable names…

---

## [Struct not being displayed in data table](https://forums.unrealengine.com/t/struct-not-being-displayed-in-data-table/339898)

<div class="topic-metadata">

**Author:** [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Replies:** 5\
**Last updated:** [November 2, 2024, 8:35pm UTC](https://forums.unrealengine.com/t/struct-not-being-displayed-in-data-table/339898 "2024-11-02T20:35:12Z")

</div>

I am not sure whether or not this is a bug report or a feature request, as this may be intended behavior, but I have a data table that uses the struct MyDataStruct: {MyVar, ArrayOfAnotherStruct, ArrayOfMyVar} AnotherStr…

---

## [Can't open blueprint project | Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION reading address 0x0000000000000060](https://forums.unrealengine.com/t/cant-open-blueprint-project-unhandled-exception-exception-access-violation-reading-address-0x0000000000000060/2006322)

<div class="topic-metadata">

**Author:** [@TheFlyingEpergne](https://forums.unrealengine.com/u/TheFlyingEpergne)\
**Replies:** 4\
**Last updated:** [September 18, 2024, 5:05pm UTC](https://forums.unrealengine.com/t/cant-open-blueprint-project-unhandled-exception-exception-access-violation-reading-address-0x0000000000000060/2006322 "2024-09-18T17:05:20Z")

</div>

I can’t open my project and have read through a bunch of posts where people have managed to fix things using redirects but I don’t understand my log/crash files. The last thing it says is “Unknown struct” but I don’t kn…

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