Questions tagged [unreal-engine4]
Unreal Engine 4 is a game engine created by Epic Games. Use this tag for programming related questions. For non-programming related questions, use https://gamedev.stackexchange.com/.
2,355
questions
0
votes
0
answers
6
views
Constant World Translations when determining Height above Terrain
Firstly, I was trying to retreive current terrain altitude as in this topic: [How to get altitude above terrain - https://community.cesium.com/t/how-to-get-altitude-above-terrain/19802/3 (shortly: ...
-1
votes
0
answers
27
views
Having LNK2019 and LNK2001 errors in visual Studio while reading Learning C++ by Creating Games with UE4 [duplicate]
Hey everyone im new to C++ and was trying to understand Unreal engine 4 for game development and was going through this book Learning C++ by Creating Games with UE4. In chapter 8 around page 327 of ...
0
votes
0
answers
12
views
Is my method practicable to remove shadow acne in dynamic light's rendering?
So I’m currently learning things about shadows , e.g. CSM and shadow bias . Although it seems UE5 had already fixed the shadow acne issue to a certain extent , and it’s able to avoid it completely by ...
0
votes
0
answers
47
views
Access private or protected functions in unreal engine
I want to write plugins that requires to access engine's private functions or members, so that I don't need to alts the engine.
This code I got from my friend works fine to access private members, but ...
0
votes
0
answers
12
views
HLSL Code for creating simplex noise[UE Custom Node]
I have the simplex noise plugin for UE4, however it does not match with the simplex noise material node[I need to create the same results from both BP and materials for offsetting a mesh and enabling ...
-1
votes
0
answers
26
views
What exactly does "DelegateName::template" mean in those codes? [duplicate]
I was reading UE4 code then I found a macro. I was confused about "DelegateName::template" in line 3. I've never seen that before.
I'm a beginner at UE4/5, Please tell me what that means. ...
-1
votes
0
answers
21
views
Exception when trying to bind a UFUNCTION with AddDynamic to a Delegate
Added UDP Component plugin (from here: https://github.com/getnamo/UDP-Unreal/tree/master) to my project and now im trying to bind a UFUNCTION HandleReceivedBytes (from my pawn class) to a Delegate ...
0
votes
0
answers
19
views
How stop the pawn from moving when in play mode in Unreal Engine 5?
How to stop the pawn from moving when in play mode in Unreal? I am new to Unreal and the game view should be still like the game view of Unity.
1
vote
0
answers
30
views
Changing actor material when hit by player projectile UE4
I am attempting to make a cube that changes color from preset material made in the Unreal Editor.
// Fill out your copyright notice in the Description page of Project Settings.
//added constructor ...
0
votes
0
answers
8
views
Preventing multiple reinitialization of Metaeditor / player on Browsers
I'm building a online video chat like project where the I have two components.
One component contains: A bot avatar from unreal engine, and on the right on a small window, the user's camera feed is ...
0
votes
1
answer
15
views
Ue4 make 2d game ,two instance of Player show at the map
I use the Unreal Engine 4.27,and pure blueprint implement the game.
I was make a 2D game ,i have been make a simple map,and custom a gameMode,Character and my character controller. I am sure the ...
0
votes
0
answers
13
views
"Error at startup: Error creating directory, hr=5" when running AirSim
When I download Unreal Environment and clone AirSim trying to run it, I met this box:
enter image description here
Before this, I have successfully built AirSim(with --no-fully-pole-car). I did not ...
1
vote
1
answer
30
views
Is it possible to submit files built by Jenkins to a Perforce stream that is different than the stream the workspace sync'd from?
I am building a modified Engine (UE4) for game development, and I want to submit the binaries to a different stream (i.e., Jenkins syncs from a stream like //Game/Engine/... and I want to submit to a ...
0
votes
0
answers
54
views
Why does my highest hierarchical file not recognize the lowest hierarchical file?
I have this weird thing going on in Unreal Engine 4, where I think I don't understand how headers work, and yet I'm pretty sure I do.
using "->" sign to show which header (right of ->) ...
1
vote
0
answers
26
views
UE4 difference between an Android game compiled with engine source code and a pre-compiled engine
The pre-compiled binary version of the engine is compiled using the same engine source code, but the libUE4.so in the build of the packaged Android apk is 15MB larger than the one compiled using the ...
0
votes
0
answers
36
views
Installing and running own VR-Game created in Unreal Engeine 4 on the PICO 4 without using a connected computer
i am creating my own VR games in Unreal Engine 4. Now i want to play my game on the Pico 4 without using a computer so i only have to carry the Pico 4 with me. When i connect the glass to my computer ...
0
votes
0
answers
21
views
Ledge Trace Unreal engine 5
I am trying to make a ledge climb system in Unreal engine 5. I have applied some capsule traces in order to detect the ledges, however I want the character to not move in the direction where the ledge ...
0
votes
0
answers
46
views
Cannot open Unreal Engine 4 project after building
I built UE4.27.2 from source and tried building MS AirSim from here.
After resolving all dependencies AirSim was successfully built too.
But when i try to open that project i cannot because "The ...
0
votes
1
answer
129
views
In Unreal, can a sphere component generate both Hit and BeginOverlap event at the same time when colliding with the floor or a wall?
Let's say I have a rolling ball in my Unreal engine project. I want to detect when the ball is touching the floor and when it's not (like I could do with OnCollisionEnter and OnCollisionExit in Unity)....
0
votes
0
answers
28
views
Unreal Engine 5 - SkeletonMesh ignores vehiclemesh collision
I have been trying for the past 2 days to get my robot to lift another item.
I use this robot: https://sketchfab.com/3d-models/fab-digital-2023-benjamin-de-la-cerda-1d2822fe34e14891b05403b9d26f7dbb
I ...
0
votes
0
answers
18
views
I made dedicated server in UE4 and I need help for work this server in vds server
I made a dedicated server in ue4.27 as I said in title. Then i runned server by local host. I used my pc and I used console in debug. open 127.0.0.1 That was my code. Then I rented a vds server. I ...
0
votes
1
answer
153
views
how to simulate IR vision in Unreal engine
I am trying to create synthetic data with unreal engine. I want to fly a drone(with AirSim or anything else) and capture IR images.
as its for teaching a neural network, I need a real good IR vision ...
0
votes
0
answers
20
views
How to edit UnrealEngine4 Build process for android?
I am having issues with copying image files during build time. I get an invalid file name error.
it seems like the image assets are replicated a few times During build time. Each iteration seems to be ...
0
votes
0
answers
31
views
Load CARLA Blueprint in Unreal Engine
I want to load a blueprint from the CARLA Simulator 0.9.10.1 to check some dimensions of a vehicle in a coordinate system (Lincoln MKZ 2017) in the Unreal Engine Editor.
I found the folder in CARLA ...
0
votes
0
answers
14
views
Use Widget Button in my player inputs in UE4
I have 2 buttons in my widget blueprint for 1 input action. (Smooth Movement and Teleport)
I need when the player clicked on the one of them my input do that.
can you help me??
enter image description ...
0
votes
0
answers
22
views
VisualStudio2019 and Unreal, I cant solve the errors
I want to send HTTP requests and I use a flask server and Unreal code to manipulate a real life NAO robot. I have errors in these lines of code and I cant seem to understand the exact problem.
Here is ...
0
votes
0
answers
84
views
Error while packaging Unreal project for VR (APK): "AAPT2 aapt2-4.0.0-6051327-windows Daemon #10: Unexpected error during link"
I am trying to package and Unreal Project for VR (APK). I have search guides and forums, but haven't been able to find a solution to this error:
ProcessResult.StdOut: FAILURE: Build failed with an ...
0
votes
0
answers
45
views
HoloLens 2 doesnt connection problem to unreal 4.27
I am having a connection problem with hololens 2 and unreal 4.27.
I am trying to deploy my project to hololens 2 and it is not happening.
screenshot
I am using openxr and mrtk plugins.
I also tried ...
0
votes
0
answers
86
views
How can I update a Data table using VaRest and File Helper in Unreal Engine
I’m aware we cannot update data tables in blueprints because they are read only HOWEVER, you can update them in run time if the CSV or the file is inside and you change the values by using code from ...
1
vote
0
answers
59
views
Get type of TSubclassOf<> object
Good day!
I have a structure:
USTRUCT(BlueprintType)
struct FNotifyFunc
{
GENERATED_USTRUCT_BODY()
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Animation")
...
0
votes
0
answers
12
views
3D Object becomes upside down after export
I'm in unreal engine 5 and I am animating a space ship. When I preview the level sequence, the spaceship's positioning is correct, but when I export, the space ship is upside down and backwards... I ...
0
votes
0
answers
16
views
How to use 2d texture in a level
I'm having a problem with putting a 2d texture into a level. There is always the part above the mesh (https://imgur.com/TizVf1O) and I don't know how to get rid of it
texture: https://imgur.com/...
0
votes
0
answers
25
views
Instance launch failed - Dedicated Instance launches require a vCPU limit of at least 257
I'm a complete beginner and trying to set up unreal engine's pixel streaming on aws. I am following a tutorial however, this appeared and I cannot continue.
Why is it so high at 257? I know I should ...
-1
votes
1
answer
76
views
How to use DYNAMIC two bone IK Constraint on Unreal 4 via HoloLens 2
enter image description here
Hello,
i am trying to use two bone ik constraint on the arms of my 3d model. my aim is, via hololens, the user can touch the model^s arm and move it up or down. for this i ...
0
votes
0
answers
26
views
Predict projectile path with different walls and distance on third person
Main problem: I want to predict projectile path based on Crosshair Center or Camera Center
https://imgur.com/a/ymlWxt1
Trace Line
From Camera Center towards Camera Forward Vector * Distance
So in ...
0
votes
0
answers
117
views
UE5 C++ - Unable to find 'struct' with name 'FActorSpawnParameters' with header included
I'm working on a game and I'm trying to create a function. On trying to rebuild it give me the error 'Unable to find 'struct' with name 'FActorSpawnParameters' for the header file. *.cpp no errors
...
0
votes
0
answers
57
views
How to get rid of texture tiling
I'm working on a project which has many repeating tiles with the same texture. My problem is is that the textures don't blend together well (See bellow).
I have tried using World coordinates but I ...
1
vote
0
answers
333
views
Error building Android package in Unreal Engine 4.27.2
I am encountering an error while attempting to build an Android package in Unreal Engine 4.27.2. The specific error message I found in logs:
Execution failed for task ':app:bundleReleaseResources'.
&...
0
votes
0
answers
43
views
Unreal Assign C++ Functions to Blueprint events
I have a UMG blueprint (let it be A) that simply inherits from User Widget (No custom C++ subclass). It resides in another UWidget (name it B) (but inherited from custom C++ subclass).
My first ...
0
votes
0
answers
72
views
Binding delegates from owner vs in component to prevent coupling
While researching the topic of Coupling, I still have a little misunderstanding about what counts as less / more Coupling. I will take as an example two options for setting delegates in Unreal Engine ...
0
votes
0
answers
23
views
How do i set the height of the FollowCamera in Unreal
I'm using the following code to set the height of the follow camera but it does not work
CameraBoom =
CreateDefaultSubobject<USpringArmComponent>
(TEXT("CameraBoom"));
...
0
votes
0
answers
83
views
How to resolve error error C3668, C2065, C2923, C2976, C3203 in Unreal Engine 4.27 Plus
I'm building the project using Unreal Engine 4.27Plus in Visual Studio 2022 in Windows 10.
I have installed the the necessary packages and SDKs still I'm getting error.
14>C:/Users/xyz/Desktop/dev/...
0
votes
2
answers
80
views
cpp file of character in unreal not showing in visual studio solution explorer
I created a cpp file for a character class in unreal engine and I'm trying to edit the code in it. It opens up in visual studio but I cannot find it in the solution explorer page and vs does not ...
0
votes
0
answers
75
views
My tilde key doesn't work on Unreal Engine
I am new to unreal engine. My keyboard doesn't recognize the tilde(~) key. When I press once, nothing happens. When I press twice it prints two ~~ key. I am trying to open console command window, but ...
0
votes
0
answers
85
views
Unreal Engine String Table not registered?
the Is String Table Registered function always returns false with the name of my table as Id. I didn’t find anything on the web about it and doc Epic only talks about binding with flags
I need to use ...
0
votes
0
answers
16
views
Importing from blender to unreal visual problems
Imported blender objects have disappearing parts when viewed from different angles. Even chat GPT didn’t help
I made a mesh in blender and it looked fine, but when I imported into unreal engine parts ...
1
vote
0
answers
21
views
I'm trying to make my player be able to punch the enemy and for something to happen but My Collisions aren't working properly
I added a tag to the fist and it's supposed to print out hello when it overlaps the enemy but it doesn't work and when I remove the actor has tag and print what hit the enemy it says the fist hit it ...
0
votes
0
answers
17
views
How do i rotate rigged character bone in Unreal Engine outliner?
I am new to Unreal Engine, I want to know is there any way to rotate rigged character bone in Unreal Engine outliner like what we do in Unity hierarchy? I tried too many ways but i can't find any ...
1
vote
1
answer
77
views
Pointer to Incomplete class not allowed error
I'm trying to access the AddCoin() function from MainCharacter but it keeps prompting me with Pointer to incomplete class not allowed.
I've tried #including the MainCharacter.h but it keeps prompting ...
0
votes
0
answers
187
views
Unreal Rig Issue Control Rig - Hierarchy discrepancy for bone 'pelvis' - different parents on Control Rig vs SkeletalMesh
I created a character in Daz Studio. Then using the Daz to Unreal plugin, the character was exported to Unreal. I tried both the pluging and plain FBX export. The character is successfully imported in ...