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

Unreal Engine 4 is a game engine created by Epic Games.

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

Resources

2363 questions
8
votes
3 answers

Choose luminosity (exposure) from HDR image

I'm currently stuck on a video projet from pictures. Problem : I'm extracting pictures from UE4, due to a bug, not all lights are taken into account during the rendering of the screenshot. Output are HDR images. I want to get better brighteness…
Marcassin
  • 1,386
  • 1
  • 11
  • 21
8
votes
3 answers

Check if A is a subclass of B?

I am currently using Unreal Engine 4 and it seems that I can't avoid some casts. AController* c = this->GetController(); APlayerController* p = (APlayerController*)c; Is there a way that I can check if c is a PlayerController before I do the cast?
Maik Klein
  • 15,548
  • 27
  • 101
  • 197
7
votes
2 answers

Unreal Engine 4: C++ Delegate not being called

I've been working on converting some blueprint logic over to C++. One of the things I have is a button. The button can be pressed in VR and has a delegate that is called to notify any registered functions that the button press occurred. Here is how…
Katianie
  • 589
  • 1
  • 9
  • 38
7
votes
1 answer

Use APL (Android Programming Language) to make Android plugin to Unreal Engine 4

I'm trying to develop Unreal Engine 4 plugin for Android camera API 2. As I could read on unreal engine forums, there two possibilities to make a plugin for Android. The first, consist on modifying the UE Android base project (GameActivity). The…
uelordi
  • 2,189
  • 3
  • 21
  • 36
6
votes
3 answers

In UE 5 I keep getting this error Unable to build while Live Coding is active

Since I upgraded to UE 5 I keep getting this error Error Unable to build while Live Coding is active. Exit the editor and game, or press Ctrl+Alt+F11 if iterating on code in the editor or game Any solution ?
zac
  • 4,495
  • 15
  • 62
  • 127
6
votes
2 answers

Connecting Android Device issue on Windows: adb server version (41) doesn't match this client (39); killing

So I've been stuck on this issue when running adb devices: List of devices attached adb server version (41) doesn't match this client (39); killing... daemon started successfully While there are plenty of questions/answers on this topic,…
TheLexShow
  • 61
  • 1
  • 3
6
votes
4 answers

How can I create the equivalent of Unity LookAt in Unreal blueprint?

In Unreal, I want to rotate an actor where the forward vector points at target's current position, to ensure that the up vector of my actor is the same at the up vector of my target In Unity3D, it's super simple. It's a single line of code…
probitaille
  • 1,899
  • 1
  • 19
  • 37
6
votes
3 answers

Spawn actor from class in Unreal Engine using Python

Using Blueprint, I can SpawnActorFromClass with a StaticMeshActor, but with a Python script via the builtin Python Script plugin, unreal.EditorLevelLibrary().spawn_actor_from_class(ue.Class(name='StaticMeshActor'), location, rot) I got: LogPython:…
kakyo
  • 10,460
  • 14
  • 76
  • 140
6
votes
1 answer

Drawing on one Whiteboard (Render Target) is copied to all Whiteboards?

I'm using the Unreal Engine 4 VR Content Examples where it has a whiteboard you can draw on. It uses render targets to render the line to the canvas. The problem is, when I copy the whiteboard to use somewhere else in the level, it shows the same…
Katianie
  • 589
  • 1
  • 9
  • 38
6
votes
1 answer

Why does PlayerController "own" the yaw pitch and roll, but the Character "owns" its location?

I'm new to UE4 and am trying to understand some basics concepts around controlling a character pawn. I'm fumbling around trying to implement some character movement logic. I'm going for the basic WASD to move the character forward, back, side to…
Ryan
  • 7,733
  • 10
  • 61
  • 106
6
votes
0 answers

Unreal engine AudioRecord() start error -38 Android

This bug is already confirmed on epic games side, however, is there any fast fix for it for anyone who already faced the same issue? its only happen when the app load for 2nd time. I've debugged it using android studio, and found the AudioRecord()…
VectorX
  • 657
  • 5
  • 12
6
votes
1 answer

How to debug unreal engine source code

i would like to ask if there is any way to debug the unreal engine source code with visual Studio Source Code : (). Everytime i try to set a breakpoint in their source code is just says that it can not reacht this breakpoint.
Wolff
  • 73
  • 1
  • 2
  • 6
6
votes
2 answers

Unreal engine crashes on startup on Linux

I have compiled Unreal Engine from source and everything is successful. But when I try to launch UE4Editor it crashes. The error on console is: [2017.04.14-05.25.55:381][ 0]LogExit: Exiting. Engine crash handling finished; re-raising signal 11 for…
Andrii Abramov
  • 10,019
  • 9
  • 74
  • 96
6
votes
1 answer

Parallel computation with unreal engine 4

I am currently researching the usability of Unreal Engine for a computational intensive project and Google have not been terribly helpful. I need to do some heavy computation, in the background of the game loop, for the project, which is currently…
JoeTaicoon
  • 1,383
  • 1
  • 12
  • 28
6
votes
1 answer

How to commit project in Unreal Engine to the github

I have a project in Unreal Engine 4 and it's size is 4.5Gb. I want to commit it to the github. Is it any folders, which I can add to the GitIgnore?
Amazing User
  • 3,473
  • 10
  • 36
  • 75