# \#tarray:-arrays-in-un

**URL:** https://forums.unrealengine.com/tag/tarray-arrays-in-un/10020.md

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

---

## [Only the values of TArray elements are not displayed in the Visual Studio Debugger](https://forums.unrealengine.com/t/only-the-values-of-tarray-elements-are-not-displayed-in-the-visual-studio-debugger/487839)

<div class="topic-metadata">

**Author:** [@iiiaiaa](https://forums.unrealengine.com/u/iiiaiaa)\
**Replies:** 4\
**Last updated:** [August 2, 2025, 2:22pm UTC](https://forums.unrealengine.com/t/only-the-values-of-tarray-elements-are-not-displayed-in-the-visual-studio-debugger/487839 "2025-08-02T14:22:42Z")

</div>

As you can see in the image, we have just added an element to the TArray of type int32, but we cannot see the value of the element in the debugger. There is probably no problem in allocating memory, and I can actually ge…

---

## [Error: an undefined class is not allowed as an argument to compiler intrinsic type trait '\_\_is\_trivially\_destructible'](https://forums.unrealengine.com/t/error-an-undefined-class-is-not-allowed-as-an-argument-to-compiler-intrinsic-type-trait-is-trivially-destructible/405074)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_07ba773b](https://forums.unrealengine.com/u/anonymous_user_07ba773b)\
**Replies:** 2\
**Last updated:** [July 6, 2025, 1:15pm UTC](https://forums.unrealengine.com/t/error-an-undefined-class-is-not-allowed-as-an-argument-to-compiler-intrinsic-type-trait-is-trivially-destructible/405074 "2025-07-06T13:15:04Z")

</div>

I’m getting an error I don’t understand. I have a struct called FLilaParameter, which I have defined in a file called LilaStructsAndEnums.h: LilaStructsAndEnums.h USTRUCT(BlueprintType) struct FLilaParameter { GENERA…

---

## [Split text into words](https://forums.unrealengine.com/t/split-text-into-words/378336)

<div class="topic-metadata">

**Author:** [@FirstLight](https://forums.unrealengine.com/u/FirstLight)\
**Replies:** 2\
**Last updated:** [November 3, 2023, 2:09am UTC](https://forums.unrealengine.com/t/split-text-into-words/378336 "2023-11-03T02:09:29Z")

</div>

What’s the best way to split sentences into an array of words? I searched through the code for FText and FString, and the closest thing I found would be to use ParseIntoArray, but that has a warning that says to use it f…

---

## [How to create an array of sub objects?](https://forums.unrealengine.com/t/how-to-create-an-array-of-sub-objects/394603)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_567aa983](https://forums.unrealengine.com/u/anonymous_user_567aa983)\
**Replies:** 5\
**Last updated:** [July 31, 2023, 6:13am UTC](https://forums.unrealengine.com/t/how-to-create-an-array-of-sub-objects/394603 "2023-07-31T06:13:24Z")

</div>

As in topic, I know how to create a sub object for an object: UPROPERTY( EditAnywhere, Instanced ) MyObject\* m\_obj; and in constructor: m\_obj = ObjectInitializer.CreateDefaultSubobject\< MyObject \>( this, TEXT( “OBJ” …

---

## [TArray Find() C2678 error even with operator overload '=='](https://forums.unrealengine.com/t/tarray-find-c2678-error-even-with-operator-overload/422829)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_20dedf25](https://forums.unrealengine.com/u/anonymous_user_20dedf25)\
**Replies:** 13\
**Last updated:** [August 15, 2022, 9:48am UTC](https://forums.unrealengine.com/t/tarray-find-c2678-error-even-with-operator-overload/422829 "2022-08-15T09:48:32Z")

</div>

I am trying to create an inventory based system using two USTRUCTS FAlchemyItem (FAI) and FAlchemyFluid (FAF). The FAlchemyItem contains and FAlchemyFluid and is generally used as a transporter for the FAF as multiple d…

---

## [MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: System.ArgumentException: An item with the same key has already been added](https://forums.unrealengine.com/t/mainframeactions-packaging-windows-64-bit-program-main-error-automationtool-terminated-with-exception-system-argumentexception-an-item-with-the-same-key-has-already-been-added/375500)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fc71d6a0](https://forums.unrealengine.com/u/anonymous_user_fc71d6a0)\
**Replies:** 4\
**Last updated:** [February 23, 2022, 3:17pm UTC](https://forums.unrealengine.com/t/mainframeactions-packaging-windows-64-bit-program-main-error-automationtool-terminated-with-exception-system-argumentexception-an-item-with-the-same-key-has-already-been-added/375500 "2022-02-23T15:17:27Z")

</div>

I’m facing packag problem…after i migrate two project into a project… Can someone help me… LogSavePackage: Save=6707.67ms LogSavePackage: Moving ‘F:/project/2016/1608\_OCR Property (OCR)/unreal engine ocr/HANI/BINBIN02…

---

## [I can't get Json Nested Values to TArray](https://forums.unrealengine.com/t/i-cant-get-json-nested-values-to-tarray/436503)

<div class="topic-metadata">

**Author:** [@alangodoi](https://forums.unrealengine.com/u/alangodoi)\
**Replies:** 1\
**Last updated:** [February 7, 2022, 5:24am UTC](https://forums.unrealengine.com/t/i-cant-get-json-nested-values-to-tarray/436503 "2022-02-07T05:24:41Z")

</div>

I’m doing a GET Request to an online API but I can’t get nested Json values to set to an array in C++ (Unreal Engine 4). I got all values except nested array LE (key) Here is JSON { "Id": 8, "Nome": "Name", …

---

## [UE 4 and 5 Freezes on pasting huge array of vertices](https://forums.unrealengine.com/t/ue-4-and-5-freezes-on-pasting-huge-array-of-vertices/491656)

<div class="topic-metadata">

**Author:** [@goner243](https://forums.unrealengine.com/u/goner243)\
**Replies:** 1\
**Last updated:** [December 7, 2021, 5:39pm UTC](https://forums.unrealengine.com/t/ue-4-and-5-freezes-on-pasting-huge-array-of-vertices/491656 "2021-12-07T17:39:34Z")

</div>

Hey there, i’m trying to paste 40k Vectors in Vector Array in BP but engine just freeze my PC. Is there any other way to paste huge data in Array without using Ctrl+V?

---

## [Problem with hair shading](https://forums.unrealengine.com/t/problem-with-hair-shading/491506)

<div class="topic-metadata">

**Author:** [@david\_grette](https://forums.unrealengine.com/u/david_grette)\
**Replies:** 0\
**Last updated:** [December 1, 2021, 8:23pm UTC](https://forums.unrealengine.com/t/problem-with-hair-shading/491506 "2021-12-01T20:23:47Z")

</div>

Hello, I has been creating characters for Unreal store for quite some time, but I have not been able to fix one problem. The screenshot shows that the hair has a strange faded tint. This can be seen in any version of…

---

## [What this notation stands for?](https://forums.unrealengine.com/t/what-this-notation-stands-for/490475)

<div class="topic-metadata">

**Author:** [@Unzkilled](https://forums.unrealengine.com/u/Unzkilled)\
**Replies:** 2\
**Last updated:** [November 1, 2021, 12:43pm UTC](https://forums.unrealengine.com/t/what-this-notation-stands-for/490475 "2021-11-01T12:43:05Z")

</div>

Hey, I have saw this declaration in a plugin: TArray\<FColor\> FrameBuffer\[2\]; I wonder what’s the difference between this declaration and the default TArray FrameBuffer;

---

## [Array index out of bounds condition checking macro](https://forums.unrealengine.com/t/array-index-out-of-bounds-condition-checking-macro/373922)

<div class="topic-metadata">

**Author:** [@SwordsKeyboard](https://forums.unrealengine.com/u/SwordsKeyboard)\
**Replies:** 4\
**Last updated:** [October 27, 2021, 10:38am UTC](https://forums.unrealengine.com/t/array-index-out-of-bounds-condition-checking-macro/373922 "2021-10-27T10:38:03Z")

</div>

I’m getting the below crash after I spawn an actor Assertion failed: (Index \>= 0) & (Index \< ArrayNum) Array index out of bounds: 1 from an array of size 1 Would this macro work as a check against that? I am using a l…

---

## [Why can you pass TArrays to Control Rig if there seems to be no way to access the members?](https://forums.unrealengine.com/t/why-can-you-pass-tarrays-to-control-rig-if-there-seems-to-be-no-way-to-access-the-members/479158)

<div class="topic-metadata">

**Author:** [@Goonix\_1](https://forums.unrealengine.com/u/Goonix_1)\
**Replies:** 2\
**Last updated:** [May 5, 2021, 6:24pm UTC](https://forums.unrealengine.com/t/why-can-you-pass-tarrays-to-control-rig-if-there-seems-to-be-no-way-to-access-the-members/479158 "2021-05-05T18:24:19Z")

</div>

I am passing an array of bools to control rig to control foot placement at runtime, however I cannot access the members through any node I can see. I am also not sure I can make my own class of control rig to solve the …

---

## [How can I remove unassigned elements from the end of a TArray](https://forums.unrealengine.com/t/how-can-i-remove-unassigned-elements-from-the-end-of-a-tarray/480508)

<div class="topic-metadata">

**Author:** [@ArtyD2](https://forums.unrealengine.com/u/ArtyD2)\
**Replies:** 2\
**Last updated:** [March 19, 2021, 10:06am UTC](https://forums.unrealengine.com/t/how-can-i-remove-unassigned-elements-from-the-end-of-a-tarray/480508 "2021-03-19T10:06:57Z")

</div>

I was hoping to see if there was an easy way for me to do this. I’m grabbing a GZip compressed file with an Http request and attempting to parse the contents into a protobuf class. Since I can’t be sure of the size of th…

---

## [My unreal engine keeps crashing while playing any unreal engine game please help me](https://forums.unrealengine.com/t/my-unreal-engine-keeps-crashing-while-playing-any-unreal-engine-game-please-help-me/474263)

<div class="topic-metadata">

**Author:** [@azizz\_10](https://forums.unrealengine.com/u/azizz_10)\
**Replies:** 0\
**Last updated:** [November 12, 2020, 1:26pm UTC](https://forums.unrealengine.com/t/my-unreal-engine-keeps-crashing-while-playing-any-unreal-engine-game-please-help-me/474263 "2020-11-12T13:26:48Z")

</div>

---

## [When I launch a game it generates a crash report that I cant send or fix](https://forums.unrealengine.com/t/when-i-launch-a-game-it-generates-a-crash-report-that-i-cant-send-or-fix/473606)

<div class="topic-metadata">

**Author:** [@Bhaines92\_2](https://forums.unrealengine.com/u/Bhaines92_2)\
**Replies:** 0\
**Last updated:** [October 29, 2020, 7:11am UTC](https://forums.unrealengine.com/t/when-i-launch-a-game-it-generates-a-crash-report-that-i-cant-send-or-fix/473606 "2020-10-29T07:11:47Z")

</div>

When I launch Satisfactory it crashes and opens Unreal engine 4 Crash reporter but i cant send the details. this is what it generates. Version: 131382, IsEditor: No, IsPerforceBuild: No, BuildConfiguration: Shipping, La…

---

## [How can I save/load TArray data?](https://forums.unrealengine.com/t/how-can-i-save-load-tarray-data/472854)

<div class="topic-metadata">

**Author:** [@Anonymous\_ec3b63dd0812b74e192978029f7aa778](https://forums.unrealengine.com/u/Anonymous_ec3b63dd0812b74e192978029f7aa778)\
**Replies:** 0\
**Last updated:** [October 13, 2020, 12:31pm UTC](https://forums.unrealengine.com/t/how-can-i-save-load-tarray-data/472854 "2020-10-13T12:31:14Z")

</div>

Question Hello I’m trying to make save/load system in my game. I wrote InventoryComponent that has TArray like this. UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) ) class GAME\_API UInventoryComponent :…

---

## [How to open testing widow in unreal engine 4?](https://forums.unrealengine.com/t/how-to-open-testing-widow-in-unreal-engine-4/470117)

<div class="topic-metadata">

**Author:** [@ASHHAR\_JAWWAD](https://forums.unrealengine.com/u/ASHHAR_JAWWAD)\
**Replies:** 5\
**Last updated:** [September 10, 2020, 4:07am UTC](https://forums.unrealengine.com/t/how-to-open-testing-widow-in-unreal-engine-4/470117 "2020-09-10T04:07:48Z")

</div>

Do i test my game in unreal engine 4 with a seperate test window?

---

## [Assertion failed: ArrayNum &lt; ShadowArrayNum || SharedParams.Cmds\[CmdIndex + 1\].Type == ERepLayoutCmdType::DynamicArray](https://forums.unrealengine.com/t/assertion-failed-arraynum-lt-shadowarraynum-sharedparams-cmds-cmdindex-1-type-ereplayoutcmdtype-dynamicarray/461184)

<div class="topic-metadata">

**Author:** [@atanknomore](https://forums.unrealengine.com/u/atanknomore)\
**Replies:** 2\
**Last updated:** [August 8, 2020, 1:32am UTC](https://forums.unrealengine.com/t/assertion-failed-arraynum-lt-shadowarraynum-sharedparams-cmds-cmdindex-1-type-ereplayoutcmdtype-dynamicarray/461184 "2020-08-08T01:32:27Z")

</div>

Hey, I recently upgraded to 4.24, and have run into the problem of the title. Assertion failed: ArrayNum &lt; ShadowArrayNum || SharedParams.Cmds\[CmdIndex + 1\].Type == ERepLayoutCmdType::DynamicArray \[File:D:/Build/++U…

---

## [TArray crash when adding items](https://forums.unrealengine.com/t/tarray-crash-when-adding-items/458328)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c8474b73](https://forums.unrealengine.com/u/anonymous_user_c8474b73)\
**Replies:** 3\
**Last updated:** [November 12, 2019, 11:37am UTC](https://forums.unrealengine.com/t/tarray-crash-when-adding-items/458328 "2019-11-12T11:37:08Z")

</div>

when I edit the default values of the following array in Blueprints it crashes the engine. I just want an array of the class UVehicleWheels. TArray\<TSubclassOf\<UVehicleWheel\>\> What am i doing wrong?

---

## [How do I make a 2D array of AActors in c++?](https://forums.unrealengine.com/t/how-do-i-make-a-2d-array-of-aactors-in-c/456427)

<div class="topic-metadata">

**Author:** [@JustMikeMB](https://forums.unrealengine.com/u/JustMikeMB)\
**Replies:** 1\
**Last updated:** [October 4, 2019, 8:01pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-2d-array-of-aactors-in-c/456427 "2019-10-04T20:01:39Z")

</div>

I originally had a TArray of TArrays of a class, making a 2D array of classes, this worked out until I wanted to add collision to each of the nodes in the 2D array. To resolve it I tried to change the empty c++ class int…

---

## [Best way to stream video in the form of uint8 arrays](https://forums.unrealengine.com/t/best-way-to-stream-video-in-the-form-of-uint8-arrays/452854)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5dc57d8a](https://forums.unrealengine.com/u/anonymous_user_5dc57d8a)\
**Replies:** 0\
**Last updated:** [July 26, 2019, 4:22am UTC](https://forums.unrealengine.com/t/best-way-to-stream-video-in-the-form-of-uint8-arrays/452854 "2019-07-26T04:22:34Z")

</div>

I’ve read about the Streaming textures, but I am receiving data in the form of TArray\<uint8\> arrays at 25fps. Since I just started with Unreal I’m wondering what’s the best/most efficient way to stream these images onto …

---

## [C++ UMaterialInstanceDynamic output function?](https://forums.unrealengine.com/t/c-umaterialinstancedynamic-output-function/451754)

<div class="topic-metadata">

**Author:** [@R0tn3k](https://forums.unrealengine.com/u/R0tn3k)\
**Replies:** 2\
**Last updated:** [July 7, 2019, 3:46pm UTC](https://forums.unrealengine.com/t/c-umaterialinstancedynamic-output-function/451754 "2019-07-07T15:46:28Z")

</div>

Hi, I want to have a MaterialInstance-TArray in my Gamemode together with a “GetMaterialArray()” function for other to use those materials. In the MyGameMode.h I have: TArray\<UMaterialInstanceDynamic\> MaterialListArray…

---

## [How to create a class that shows members in TArray](https://forums.unrealengine.com/t/how-to-create-a-class-that-shows-members-in-tarray/450727)

<div class="topic-metadata">

**Author:** [@plato.manchi](https://forums.unrealengine.com/u/plato.manchi)\
**Replies:** 2\
**Last updated:** [June 15, 2019, 9:56pm UTC](https://forums.unrealengine.com/t/how-to-create-a-class-that-shows-members-in-tarray/450727 "2019-06-15T21:56:54Z")

</div>

Is it possible to create a class where if i create a TArray of it can show its members like shown in the pic below? I haven’t done any editor scripting so if I have to write editor script then I might give up and use ex…

---

## [Tree structure of structs](https://forums.unrealengine.com/t/tree-structure-of-structs/449642)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ed64e038](https://forums.unrealengine.com/u/anonymous_user_ed64e038)\
**Replies:** 2\
**Last updated:** [May 30, 2019, 9:37am UTC](https://forums.unrealengine.com/t/tree-structure-of-structs/449642 "2019-05-30T09:37:29Z")

</div>

I want to create tree structure of structs, but my struct A cant have TArray\<A\> type parameter. It says ‘struct recursion via arrays is not supported’. Kinda idiotism but, anyway, how to beat it? I can’t do this in bluep…

---

## [How to drag TargetPoint to the panel？](https://forums.unrealengine.com/t/how-to-drag-targetpoint-to-the-panel/449312)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7c401be9](https://forums.unrealengine.com/u/anonymous_user_7c401be9)\
**Replies:** 4\
**Last updated:** [May 21, 2019, 6:40pm UTC](https://forums.unrealengine.com/t/how-to-drag-targetpoint-to-the-panel/449312 "2019-05-21T18:40:47Z")

</div>

Hello, I don’t understand why does the complier not allow me to put object of TargetPoint in a TArray. This is my code: #include "CoreMinimal.h" #include "AIController.h" #include "GuardAIController.generated.h" /\*\* …

---

## [Array Index None with Array of Actors - Tracking Actors](https://forums.unrealengine.com/t/array-index-none-with-array-of-actors-tracking-actors/447280)

<div class="topic-metadata">

**Author:** [@blindminds](https://forums.unrealengine.com/u/blindminds)\
**Replies:** 3\
**Last updated:** [April 17, 2019, 12:02am UTC](https://forums.unrealengine.com/t/array-index-none-with-array-of-actors-tracking-actors/447280 "2019-04-17T00:02:01Z")

</div>

I am using 3 arrays to keep track of missiles for a weapon system. Weapon System has 30 “Slots”, one for each missile. Index in each Array corresponds to a “Slot” in the Weapon System Array #1: Array of Scene Componen…

---

## [Appending FVector to another FVector](https://forums.unrealengine.com/t/appending-fvector-to-another-fvector/446305)

<div class="topic-metadata">

**Author:** [@astrotan](https://forums.unrealengine.com/u/astrotan)\
**Replies:** 1\
**Last updated:** [March 31, 2019, 3:55am UTC](https://forums.unrealengine.com/t/appending-fvector-to-another-fvector/446305 "2019-03-31T03:55:47Z")

</div>

Hi, what I’m trying to achieve is creating a TArray of FVectors (named R\_ijk) from the first element in a TArray of Existing FVectors (called TempState). TempState holds position FVectors and velocity FVectors so basical…

---

## [How to assign the value of one array to another array](https://forums.unrealengine.com/t/how-to-assign-the-value-of-one-array-to-another-array/445628)

<div class="topic-metadata">

**Author:** [@A1exHuang](https://forums.unrealengine.com/u/A1exHuang)\
**Replies:** 2\
**Last updated:** [March 20, 2019, 9:24am UTC](https://forums.unrealengine.com/t/how-to-assign-the-value-of-one-array-to-another-array/445628 "2019-03-20T09:24:39Z")

</div>

Whenever I run, I assign the last value of the Array Text to all the values of the New array. How do I solve this problem？

---

## [How to make Blueprint function return more than one value](https://forums.unrealengine.com/t/how-to-make-blueprint-function-return-more-than-one-value/444283)

<div class="topic-metadata">

**Author:** [@delcasda](https://forums.unrealengine.com/u/delcasda)\
**Replies:** 1\
**Last updated:** [February 27, 2019, 9:26pm UTC](https://forums.unrealengine.com/t/how-to-make-blueprint-function-return-more-than-one-value/444283 "2019-02-27T21:26:05Z")

</div>

Hi, sorry noob unreal c++ question but I trying to get my own blueprint function from c++ return an array and a Boolean but I can get only one value on return. I read somewhere that I could use a struct as return value b…

---

## [Second Element of TArray Changing When Passed by Ref?](https://forums.unrealengine.com/t/second-element-of-tarray-changing-when-passed-by-ref/442998)

<div class="topic-metadata">

**Author:** [@Brannigan](https://forums.unrealengine.com/u/Brannigan)\
**Replies:** 1\
**Last updated:** [February 9, 2019, 11:29pm UTC](https://forums.unrealengine.com/t/second-element-of-tarray-changing-when-passed-by-ref/442998 "2019-02-09T23:29:16Z")

</div>

So I have a FCompactPose OutPose which holds a struct variable of it’s parent class FBaseCompactPose SourcePose. In AnimNodeSequencePlayer::Evaluate\_AnyThread(), I create an FBoneContainer which contains a TArray Skelet…

[Next page](https://forums.unrealengine.com/tag/tarray-arrays-in-un/10020.md?match_all_tags=true&page=1&tags%5B%5D=tarray%3A-arrays-in-un)
