# \#Class

**URL:** https://forums.unrealengine.com/tag/class/790.md

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

---

## [How can I establish communication between a class Blueprint and animation Blueprint?](https://forums.unrealengine.com/t/how-can-i-establish-communication-between-a-class-blueprint-and-animation-blueprint/279172)

<div class="topic-metadata">

**Author:** [@Thumper](https://forums.unrealengine.com/u/Thumper)\
**Replies:** 7\
**Last updated:** [June 14, 2026, 6:46pm UTC](https://forums.unrealengine.com/t/how-can-i-establish-communication-between-a-class-blueprint-and-animation-blueprint/279172 "2026-06-14T18:46:35Z")

</div>

I have an actor class I’ve created - lets call it cylinder. This class has a blue print where I collect and store the player characters X and Y location in two variables called Xposition, Yposition. This cylinder has s…

---

## [What is a Damage Type Class?](https://forums.unrealengine.com/t/what-is-a-damage-type-class/2665821)

<div class="topic-metadata">

**Author:** [@Extrahdmi](https://forums.unrealengine.com/u/Extrahdmi)\
**Replies:** 5\
**Last updated:** [October 17, 2025, 5:01am UTC](https://forums.unrealengine.com/t/what-is-a-damage-type-class/2665821 "2025-10-17T05:01:48Z")

</div>

I’ve been researching this for hours now and I have no idea how to use it. I tried to make the actor perform different processing based on this class, but it could not be used for branching, and even when I tried to wri…

---

## [Character class overhead](https://forums.unrealengine.com/t/character-class-overhead/448261)

<div class="topic-metadata">

**Author:** [@Mohsen.Mousavi](https://forums.unrealengine.com/u/Mohsen.Mousavi)\
**Replies:** 2\
**Last updated:** [May 19, 2025, 5:50am UTC](https://forums.unrealengine.com/t/character-class-overhead/448261 "2025-05-19T05:50:52Z")

</div>

in our first implementation of the game, we went too far down the rabbit hole and implemented all the classes based on the actor class with a lot of custom functionalities built around it. Later we found out a lot more…

---

## [What is the difference b/w and use cases of GetComponentByClass and FindComponentByClass?](https://forums.unrealengine.com/t/what-is-the-difference-b-w-and-use-cases-of-getcomponentbyclass-and-findcomponentbyclass/372492)

<div class="topic-metadata">

**Author:** [@V\_A\_L\_I\_S](https://forums.unrealengine.com/u/V_A_L_I_S)\
**Replies:** 4\
**Last updated:** [May 2, 2025, 7:39am UTC](https://forums.unrealengine.com/t/what-is-the-difference-b-w-and-use-cases-of-getcomponentbyclass-and-findcomponentbyclass/372492 "2025-05-02T07:39:27Z")

</div>

Have been trying to get a pointer to a UPhysicsHandleComponent from the owning Actor using: UPhysicsHandleComponent\* PhysicsHandler = GetOwner()-\>FindComponentByClass(); which works. What is the real difference between…

---

## [Child Classes with Same Parent Have Different Default on Mobility Which is Causes Issues](https://forums.unrealengine.com/t/child-classes-with-same-parent-have-different-default-on-mobility-which-is-causes-issues/598211)

<div class="topic-metadata">

**Author:** [@StBlueFire](https://forums.unrealengine.com/u/StBlueFire)\
**Replies:** 7\
**Last updated:** [March 10, 2025, 1:06am UTC](https://forums.unrealengine.com/t/child-classes-with-same-parent-have-different-default-on-mobility-which-is-causes-issues/598211 "2025-03-10T01:06:50Z")

</div>

Here is a real headscratcher in 4.27. I have two classes of ore. BP\_Tin and BP\_Emerald. They have the same parent class. Yet the DefaultSceneRoot they have different default mobilities. BP\_Emerald’s is correctly lis…

---

## [widget class randomisation](https://forums.unrealengine.com/t/widget-class-randomisation/2378298)

<div class="topic-metadata">

**Author:** [@Marioucheka](https://forums.unrealengine.com/u/Marioucheka)\
**Replies:** 3\
**Last updated:** [March 6, 2025, 9:39pm UTC](https://forums.unrealengine.com/t/widget-class-randomisation/2378298 "2025-03-06T21:39:22Z")

</div>

Hi everybody, I try to randomise widget classes but it doesn’t work. Do you know how to do this? On the first screen, this is the event graph for the randomisation. And on the second screen, this is all of my widge…

---

## [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…

---

## [I can't reparent my actor](https://forums.unrealengine.com/t/i-cant-reparent-my-actor/2160150)

<div class="topic-metadata">

**Author:** [@Kaki1403](https://forums.unrealengine.com/u/Kaki1403)\
**Replies:** 2\
**Last updated:** [December 3, 2024, 12:23pm UTC](https://forums.unrealengine.com/t/i-cant-reparent-my-actor/2160150 "2024-12-03T12:23:18Z")

</div>

Hello, for the past few days I have several files that seem semi-corrupted. When I try to open them I get this warning: Blueprint could not be loaded because it derives from an invalid class. Check to make sure the pare…

---

## [How efficient is accessing data tables?](https://forums.unrealengine.com/t/how-efficient-is-accessing-data-tables/397308)

<div class="topic-metadata">

**Author:** [@Deamonpog](https://forums.unrealengine.com/u/Deamonpog)\
**Replies:** 16\
**Last updated:** [November 30, 2024, 12:06pm UTC](https://forums.unrealengine.com/t/how-efficient-is-accessing-data-tables/397308 "2024-11-30T12:06:57Z")

</div>

I would like to know how efficient it is to: Search for a data Get data by row name Is it O(1) or O(n) ? Do I have to manually cache Data Table in memory or will they be cached into memory at runtime? Imagine I have …

---

## [Understanding the Functionality Behind Blueprint Nodes in Unreal Engine](https://forums.unrealengine.com/t/understanding-the-functionality-behind-blueprint-nodes-in-unreal-engine/2156829)

<div class="topic-metadata">

**Author:** [@Lamboveer](https://forums.unrealengine.com/u/Lamboveer)\
**Replies:** 4\
**Last updated:** [November 28, 2024, 8:28pm UTC](https://forums.unrealengine.com/t/understanding-the-functionality-behind-blueprint-nodes-in-unreal-engine/2156829 "2024-11-28T20:28:21Z")

</div>

Hi everyone, I’m having trouble understanding how certain Blueprint nodes in Unreal Engine work, especially the ones that reference C++ functions or concepts but are explained very generally. For example, when I use nod…

---

## [Is there a Blueprint class that represents anything that can be used as landscape (Landscape, L. Streaming Proxy, ...)?](https://forums.unrealengine.com/t/is-there-a-blueprint-class-that-represents-anything-that-can-be-used-as-landscape-landscape-l-streaming-proxy/672669)

<div class="topic-metadata">

**Author:** [@Etyuhibosecyu](https://forums.unrealengine.com/u/Etyuhibosecyu)\
**Replies:** 2\
**Last updated:** [September 7, 2024, 2:55pm UTC](https://forums.unrealengine.com/t/is-there-a-blueprint-class-that-represents-anything-that-can-be-used-as-landscape-landscape-l-streaming-proxy/672669 "2024-09-07T14:55:46Z")

</div>

Actually the whole question.

---

## [How to check class reference is "perfectly" valid?](https://forums.unrealengine.com/t/how-to-check-class-reference-is-perfectly-valid/2003084)

<div class="topic-metadata">

**Author:** [@turbotanaka](https://forums.unrealengine.com/u/turbotanaka)\
**Replies:** 5\
**Last updated:** [September 3, 2024, 11:07am UTC](https://forums.unrealengine.com/t/how-to-check-class-reference-is-perfectly-valid/2003084 "2024-09-03T11:07:02Z")

</div>

I’m getting a class array from a function, assigning it to a variable and then doing some looping around it. If the class is valid, processing will continue, but a reference error will occur in subsequent processing eve…

---

## [Anim Notify is not working in migrated animation sequencer](https://forums.unrealengine.com/t/anim-notify-is-not-working-in-migrated-animation-sequencer/415946)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c900b7e7](https://forums.unrealengine.com/u/anonymous_user_c900b7e7)\
**Replies:** 1\
**Last updated:** [August 27, 2024, 9:21pm UTC](https://forums.unrealengine.com/t/anim-notify-is-not-working-in-migrated-animation-sequencer/415946 "2024-08-27T21:21:09Z")

</div>

Hi, I am using the Engine for cinematic sequencer. Now I am using 4.18, but I like to update it to 4.19, since its copying and pasting tracks feature. I migrated assets to new 4.19 project. The issue is the particle ef…

---

## [Default Pawn Class not working?](https://forums.unrealengine.com/t/default-pawn-class-not-working/369687)

<div class="topic-metadata">

**Author:** [@CallumAnim](https://forums.unrealengine.com/u/CallumAnim)\
**Replies:** 8\
**Last updated:** [July 14, 2024, 9:46pm UTC](https://forums.unrealengine.com/t/default-pawn-class-not-working/369687 "2024-07-14T21:46:32Z")

</div>

This has been happening in 4.12 and 4.13 for me. Whenever I change the default pawn class nothing happens. When starting the level instead of spawning as the default pawn I selected, it instead lets me move as I would i…

---

## [Adding new blueprint classes after building the game?](https://forums.unrealengine.com/t/adding-new-blueprint-classes-after-building-the-game/1839276)

<div class="topic-metadata">

**Author:** [@SimpleAndComplex](https://forums.unrealengine.com/u/SimpleAndComplex)\
**Replies:** 3\
**Last updated:** [May 12, 2024, 5:35am UTC](https://forums.unrealengine.com/t/adding-new-blueprint-classes-after-building-the-game/1839276 "2024-05-12T05:35:58Z")

</div>

I’m trying to figure out how to create patches for my game so I can add new content after the release. There’s docs about patching here, How To Create a Patch (Platform-Agnostic) | Unreal Engine 4.27 Documentation But …

---

## [Ui widget invisible on game mode blueprint](https://forums.unrealengine.com/t/ui-widget-invisible-on-game-mode-blueprint/1821239)

<div class="topic-metadata">

**Author:** [@civilender](https://forums.unrealengine.com/u/civilender)\
**Replies:** 0\
**Last updated:** [April 25, 2024, 3:37pm UTC](https://forums.unrealengine.com/t/ui-widget-invisible-on-game-mode-blueprint/1821239 "2024-04-25T15:37:44Z")

</div>

I want to make a UI widgets, but widgets cannot be selected on game mode blueprint I made widget classes, but only main widget class can be choosen UPROPERTY(EditAnywhere) TSubclassOf\<class UMainWidget\> mainWidg…

---

## [Multiple Device Malfunctions: Class Selector, × Capture Area Device! × Teleporter, and Mutator, trackers, and More which Fail to Work Upon Private & Public Publication / Intermittenly in Editor](https://forums.unrealengine.com/t/multiple-device-malfunctions-class-selector-x-capture-area-device-x-teleporter-and-mutator-trackers-and-more-which-fail-to-work-upon-private-public-publication-intermittenly-in-editor/1723890)

<div class="topic-metadata">

**Author:** [@PledgedRanger](https://forums.unrealengine.com/u/PledgedRanger)\
**Replies:** 10\
**Last updated:** [April 16, 2024, 11:29pm UTC](https://forums.unrealengine.com/t/multiple-device-malfunctions-class-selector-x-capture-area-device-x-teleporter-and-mutator-trackers-and-more-which-fail-to-work-upon-private-public-publication-intermittenly-in-editor/1723890 "2024-04-16T23:29:27Z")

</div>

Reference ID a697fafc-4880-661a-6dde-01a50a47ef02 Please select what you are reporting on: Unreal Editor for Fortnite What Type of Bug are you experiencing? Devices Summary There seem to be several issues with the fun…

---

## [How can i create an array of objects of a certain class and also retrieve information from those objects?](https://forums.unrealengine.com/t/how-can-i-create-an-array-of-objects-of-a-certain-class-and-also-retrieve-information-from-those-objects/1707275)

<div class="topic-metadata">

**Author:** [@Huyfrommount](https://forums.unrealengine.com/u/Huyfrommount)\
**Replies:** 3\
**Last updated:** [February 26, 2024, 1:14am UTC](https://forums.unrealengine.com/t/how-can-i-create-an-array-of-objects-of-a-certain-class-and-also-retrieve-information-from-those-objects/1707275 "2024-02-26T01:14:42Z")

</div>

I have something like this I need to create an array of sockets, which are BP\_Socket but are also in another blueprint, so they are Child Actors. After creating an array, I call a ‘for each’ loop and want to print vo…

---

## [build failed while creating new c++ class](https://forums.unrealengine.com/t/build-failed-while-creating-new-c-class/1114904)

<div class="topic-metadata">

**Author:** [@cj\_tsai](https://forums.unrealengine.com/u/cj_tsai)\
**Replies:** 3\
**Last updated:** [February 21, 2024, 9:07pm UTC](https://forums.unrealengine.com/t/build-failed-while-creating-new-c-class/1114904 "2024-02-21T21:07:52Z")

</div>

Log file: C:\\Users\\jimts\\AppData\\Local\\UnrealBuildTool\\Log.txt Creating makefile for projeightEditor (no existing makefile) Parsing headers for projeightEditor Running UnrealHeaderTool "C:\\ueproj\\projeight\\proj…

---

## [Get class of actor?](https://forums.unrealengine.com/t/get-class-of-actor/339229)

<div class="topic-metadata">

**Author:** [@Dirt113](https://forums.unrealengine.com/u/Dirt113)\
**Replies:** 6\
**Last updated:** [February 16, 2024, 10:56am UTC](https://forums.unrealengine.com/t/get-class-of-actor/339229 "2024-02-16T10:56:37Z")

</div>

Is there a way to get the class of an AActor except for manually casting it to every single subclass, nor enumerations with the type of the actor as a variable? I need this for my inventory system

---

## [Cast to Class ALWAYS Fails.](https://forums.unrealengine.com/t/cast-to-class-always-fails/1645124)

<div class="topic-metadata">

**Author:** [@SpirusAnunnaki](https://forums.unrealengine.com/u/SpirusAnunnaki)\
**Replies:** 0\
**Last updated:** [January 26, 2024, 11:57pm UTC](https://forums.unrealengine.com/t/cast-to-class-always-fails/1645124 "2024-01-26T23:57:15Z")

</div>

First, I hope I have this in the right area. I am using Unreal Engine 5.3, and I have a weird issue I cannot figure out. Cast to Class always fails. I even created a blank, new Character, with the only thing in it is a…

---

## [Get component by class, with components added to class inside an instance (UE5.1)](https://forums.unrealengine.com/t/get-component-by-class-with-components-added-to-class-inside-an-instance-ue5-1/1423562)

<div class="topic-metadata">

**Author:** [@gvnnp](https://forums.unrealengine.com/u/gvnnp)\
**Replies:** 0\
**Last updated:** [November 26, 2023, 7:04pm UTC](https://forums.unrealengine.com/t/get-component-by-class-with-components-added-to-class-inside-an-instance-ue5-1/1423562 "2023-11-26T19:04:47Z")

</div>

Hi, I have a project where inside the construction script, i use the node “get components by class (Box collision)”. The problem is that if i create an instance (object) of that class and i place it in the world, and th…

---

## [Variant Manager Function Blueprint Invalid Class](https://forums.unrealengine.com/t/variant-manager-function-blueprint-invalid-class/482979)

<div class="topic-metadata">

**Author:** [@Moon\_Patrol\_1](https://forums.unrealengine.com/u/Moon_Patrol_1)\
**Replies:** 4\
**Last updated:** [November 10, 2023, 2:38pm UTC](https://forums.unrealengine.com/t/variant-manager-function-blueprint-invalid-class/482979 "2023-11-10T14:38:19Z")

</div>

Good day. I have created a Variant Manager with several variants. For some of my variants I used the “Add function Caller” and created custom functions for them. The functions worked fine for a while and then I starte…

---

## [\[UE5.2.1, Bug report\] References to widget elements break on 2nd level of widget inheritance](https://forums.unrealengine.com/t/ue5-2-1-bug-report-references-to-widget-elements-break-on-2nd-level-of-widget-inheritance/1268023)

<div class="topic-metadata">

**Author:** [@BOBtheROSS](https://forums.unrealengine.com/u/BOBtheROSS)\
**Replies:** 0\
**Last updated:** [August 21, 2023, 6:07pm UTC](https://forums.unrealengine.com/t/ue5-2-1-bug-report-references-to-widget-elements-break-on-2nd-level-of-widget-inheritance/1268023 "2023-08-21T18:07:10Z")

</div>

\---------- edit ---------- There is now a Bug Report on the bug tracker website ---------- edit end ---------- Summary variables of widget elements added in 2nd inheritance level are invalid. Steps to Reproduce ()…

---

## [\[C2397\] conversion from 'T' to 'float' requires a narrowing conversion](https://forums.unrealengine.com/t/c2397-conversion-from-t-to-float-requires-a-narrowing-conversion/509215)

<div class="topic-metadata">

**Author:** [@n00b\_013](https://forums.unrealengine.com/u/n00b_013)\
**Replies:** 5\
**Last updated:** [September 6, 2023, 7:13am UTC](https://forums.unrealengine.com/t/c2397-conversion-from-t-to-float-requires-a-narrowing-conversion/509215 "2023-09-06T07:13:56Z")

</div>

Hi all, I hope you are all being safe and well during these crazy COVID times, looking forward to the full release of UE5! Though, at the moment I’m creating a new character controller for UE5 using C++ and all the sudd…

---

## [Set default pawn class to change depending on selection](https://forums.unrealengine.com/t/set-default-pawn-class-to-change-depending-on-selection/333774)

<div class="topic-metadata">

**Author:** [@thecoweggroll](https://forums.unrealengine.com/u/thecoweggroll)\
**Replies:** 1\
**Last updated:** [August 23, 2023, 12:32am UTC](https://forums.unrealengine.com/t/set-default-pawn-class-to-change-depending-on-selection/333774 "2023-08-23T00:32:45Z")

</div>

Is there a way to change the gamemodes default pawn class depending on what you select in a class selection menu? So then if you select a different character in the menu, when you load the map it will spawn the said char…

---

## ["Using incorrect object initializer" when compiling an inherited script](https://forums.unrealengine.com/t/using-incorrect-object-initializer-when-compiling-an-inherited-script/491584)

<div class="topic-metadata">

**Author:** [@DissonanceOfMask](https://forums.unrealengine.com/u/DissonanceOfMask)\
**Replies:** 5\
**Last updated:** [July 7, 2023, 2:01am UTC](https://forums.unrealengine.com/t/using-incorrect-object-initializer-when-compiling-an-inherited-script/491584 "2023-07-07T02:01:12Z")

</div>

The situation is i have been trying to compile a class that inherits from a custom pawn class. The .h File: #pragma once #include "CoreMinimal.h" #include "BasePawn.h" #include "Tank.generated.h" /\*\* \* \*/ UCLASS()…

---

## [Component class override - buggy?](https://forums.unrealengine.com/t/component-class-override-buggy/350952)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_111fd632](https://forums.unrealengine.com/u/anonymous_user_111fd632)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 10:01pm UTC](https://forums.unrealengine.com/t/component-class-override-buggy/350952 "2023-06-16T22:01:42Z")

</div>

Hello, I’m trying to overwrite the class of a component. The component is defined in C++ like this: UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="Rendering") class UStaticMeshComponent\* StaticMesh; In the edito…

---

## [C++ Class | What am I doing wrong?](https://forums.unrealengine.com/t/c-class-what-am-i-doing-wrong/1198282)

<div class="topic-metadata">

**Author:** [@nitrogen092](https://forums.unrealengine.com/u/nitrogen092)\
**Replies:** 3\
**Last updated:** [June 13, 2023, 8:19pm UTC](https://forums.unrealengine.com/t/c-class-what-am-i-doing-wrong/1198282 "2023-06-13T20:19:56Z")

</div>

Hello! Visual Studio does not compile my project. Am I incorrectly adding two classes to one CPP file?

---

## [パッケージ化時にアタッチのエラーが発生する](https://forums.unrealengine.com/t/topic/1190427)

<div class="topic-metadata">

**Author:** [@tutuhu](https://forums.unrealengine.com/u/tutuhu)\
**Replies:** 0\
**Last updated:** [June 6, 2023, 7:51am UTC](https://forums.unrealengine.com/t/topic/1190427 "2023-06-06T07:51:57Z")

</div>

パッケージ化を行うとすると発生する、 アタッチ関連のエラーの解消ができないため、質問させてください パッケージ化を行うと下記のようなエラーが表示されます。 UATHelper: パッケージ化 (Windows (64-bit)): LogInit: Display: UATHelper: パッケージ化 (Windows (64-bit)): LogInit: Display: LogOutputDevice: Err…

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