Questions tagged [unreal-engine5]

Unreal Engine 5 is a game engine created by Epic Games, currently in Early access phase. Use this tag for programming related questions. For non-programming related questions, use https://gamedev.stackexchange.com/.

Unreal Engine 5 (UE5) is a game engine created by Epic Games.

Gameplay and engine programming is done in C++ and Blueprints.

Resources

616 questions
-1
votes
1 answer

Raycast check crashing UE5

I am trying to check what a multi line trace by channel is hitting by printing every hit object's name to the log, however the engine keeps crashing due to (I assume) a memory error. I've tried only printing the first object, which works, but since…
zyrg
  • 3
  • 1
-1
votes
1 answer

How to reference a variable in c++ ue5

I am currently working in a multithreaded environment where I need to pass a reference as a global variable. The basic structure would look something like this: Worker::JoyInit(TSet& w) { UE_LOG(LogTemp, Warning, TEXT("w.num() = %d"),…
Carl Newman
  • 11
  • 1
  • 3
-1
votes
2 answers

Unreal engine 5 error "class AActor has no member SetupPlayerComponent"

So I'm having an error with my unreal c++ with this function (using ue5) void ARollablePlayer::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent) { Super::SetupPlayerInputComponent(); } and the error says "class AActor has no…
-1
votes
1 answer

Unreal Engine 5 c++ GetValueTypeHash definition in TSet

I a trying to create a set of structs using TSet, however, when I compile I get the error: The structure X is used in a TSet but does not have a GetValueTypeHash defined How do I implement a GetValueTypeHash definition in my…
Carl Newman
  • 11
  • 1
  • 3
-1
votes
2 answers

How can i trigger a GPU Crash

Sometimes we can trigger a "CPU Crash" with code like: *(int*)0=1234; Correspondingly, any simple code can trigger a "GPU Crash" (may need some DirectX interface)? Why I need this is because I want to learn about Unreal's(UE4/UE5) GPU crash…
yuki
  • 19
  • 2
-1
votes
2 answers

In a basic project, as soon as I move I am teleported below my landscape. What is going on?

I created a blank template and added a landscape. When I simulate the project, I can look around with the mouse, but as soon as I move with WASD, I am instantly below the landscape. It doesn't fall, so it doesn't appear to be a gravity-related…
Casualbob
  • 1
  • 2
-1
votes
1 answer

How to merge variables in ue4/ue5

I am overcomplicating an animation and need to merge 2 ue5 animation variables into one play animation block. (using blueprints btw). My question is, how do I do this? I've not been able to find anything relating to this topic so yeah.
-1
votes
1 answer

Why do i get this error in Unreal Engine 5 when trying to Package android apps?

Hi guys iv been struggling since yesterday and i have run out of ideas. i build a little android game from a youtube tutorial and when i was done i realised i need android studio to package the game. so i downloaded it and ran it for the first time.…
Hi im noob
  • 1
  • 1
  • 3
-1
votes
1 answer

Unreal Engine 5 LevelBlueprint fails to build when new project is made

When I create a new project in Unreal Engine 5 and build the level blueprint, it throws two errors and fails to build: Output: Error List: How could I resolve these two errors so that the file builds successfully? I tried opening the file…
-1
votes
1 answer

Calculate the force of interaction of objects in UE

I want to calculate the force of the collision. For example, the car is on the bridge, and I want to find pressure force. In the second case, I have a falling car, and I want to find the force of the impact. Are there any functions for this? I want…
mksmptrnk
  • 13
  • 1
  • 6
-1
votes
1 answer

I'm having problems with Epic games and unreal engine. specifically with my projects not showing up

Hey I am brand new to unreal engine 5 and unreal in general. I would love to start making games so right now I am following a tutorial on yt. it asked us to download a character for our game and when i tried I couldnt find my project. I can open the…
-2
votes
0 answers

Not able to bind my function to OnClicked event when using GetOwner->OnClicked.AddDynamic

I am trying to make a component in c++ and i want anything that has this components attached to change color when clicked on with left mouse button, the function isn't called whenever i click on the actor to which this component is attached, i have…
-2
votes
2 answers

Unreal Engine5.1 Water System

could anywone help me, try to paint folliage on the water body lake but brush paints only landscape plane, but if i try to paint at the water body river, all works fine UE5.1. Me is newbee in ue plz dont hate me (:
Padavan
  • 103
  • 2
  • 10
-2
votes
1 answer

Unreal Vs C++: #Include ".generated.h" cannot be found after #include ".h" from my plugin file

I'm following a guide on how to make a finite state machine plugin in Unreal Engine. I have ran into an issue when I #include a .h file from my plugin into my Unreal C++ class. The issue is that when I #include "StateManagerComponent.h" (Plugin…
Jbasham
  • 1
  • 1
-2
votes
1 answer

Unreal Engine “FParse::HexNumber” How is it working?

(0x8877665544332211 >> 8 & 0xffff) I am trying to convert this operation to hexadecimal, but I have not been successful. I couldn’t use FParse::HexNumber. https://docs.unrealengine.com/5.0/en-US/API/Runtime/Core/Misc/FParse/HexNumber64/ Has anyone…
1 2 3
40
41