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
29
votes
1 answer

How do you dynamically render quads in UE4?

There are some hand wavey answers for this on answers.unrealengine.com, but they seem to lack any detail or examples. Specifically, and in detail, if you wanted to implement a set of dynamic textured quads which rendered in the 3d game world, how…
Doug
  • 32,844
  • 38
  • 166
  • 222
24
votes
1 answer

Unreal Engine 4. Different ways to instantiate the object

I found about four different ways to instantiate the object, but not sure if my understanding is clear. NewObject() function used when we want to make at the instance of UObject. For example, it can be any ActorComponents. USomeComponent sc =…
user8041441
20
votes
3 answers

How do you run tests from the command line?

To do this in-editor you open the automation tab, connect to the session and choose which tests to run. How do you do it from the command line? (NB. not compiling UnrealEngine/Engine/Build/BatchFiles/* comprehensively covers both building the…
Doug
  • 32,844
  • 38
  • 166
  • 222
16
votes
2 answers

You have requested more vCPU capacity than your current vCPU limit of 0

I am trying to host Unreal Engine Pixel Streaming Build to AWS and while doing the setup I am getting stuck at the launch of Instance. I followed this tutorial here. Please look at the error below: Any help would be appreciated since I am a…
Saad Anees
  • 1,255
  • 1
  • 15
  • 32
15
votes
2 answers

Is it possible to embed a game created with Unreal Engine into a flutter mobile application?

Is it possible to embed a game created using the unreal engine in a flutter application, so that once I open the flutter application, I can navigate to a particular page to start the game and also communicate between flutter app and the Unreal…
lordvcs
  • 2,466
  • 3
  • 28
  • 37
14
votes
2 answers

How to log a message from a string variable in Unreal Engine?

I am trying to log a message form a string variable , below is the code I used std::string s = "ss";//std::to_string(FPaths::GetPath("../")); UE_LOG(LogTemp, Warning, *s); but it's not working, Can someone tell me how to do this ?
Kas
  • 3,747
  • 5
  • 29
  • 56
13
votes
1 answer

Cannot compile unreal engine 4.25 with visual studio 2019.7.2

I get this error below when I try to compile unreal engine version four point twenty five (4.25) with visual studio version twenty nineteen point seven point two. (vs2019.7.2) or (16.7.2). Microsoft Visual Studio Community 2019 Version 16.7.2 Does…
13
votes
1 answer

Do all C++ compilers support the async/await keywords?

I want to use async/await syntax in C++ (UE4 framework), but due to cross-platform code I not sure that is possible... Or possible? If yes, how can I use it? And also there are await and __await (resumable, yield and __yield_value also) keywords…
11
votes
1 answer

Why GetAllActorsOfClass returns empty?

I have a PlayerControl.cpp class which derives from Pawn class In that class , I have a method to get all Actors in Map TSubclassOf ClassToFind; TArray FoundEnemies; UGameplayStatics::GetAllActorsOfClass(GetWorld(), ClassToFind,…
Kas
  • 3,747
  • 5
  • 29
  • 56
11
votes
3 answers

what is 'class' in 'class DataType* Variable' in Unreal Engine Shooter Game Sample

I recently downloaded the Shooter Game for Unreal 4 Engine and I am just trying to pick apart the c++ but my c++ isn't the best I notice a variable called class AShooterCharacter* MyPawn; Set in the header file for ShooterWeapon.h I am trying to…
numerical25
  • 10,524
  • 36
  • 130
  • 209
11
votes
3 answers

Does Unreal Engine 4 toolset support C++11 or C++14 on OS X / Clang?

I have some interest on UE4. Currently, I am developing a mobile game, and have a pretty large existing codebase written in C++11/14 with Clang. AFAIK, UE4 is using a custom compiler (preprocessor? whatever), and that means C++ compatibility may…
eonil
  • 83,476
  • 81
  • 317
  • 516
9
votes
2 answers

How do I fix these false Intellisense errors when using Unreal Engine 4.24.2 with VS2019 or VSCode?

I'm following the Unreal Programming Quick Start guide I've copied and pasted the code samples at the bottom of the guide. I've tried using both VS2019 and VSCode, and both give me the same errors: UStaticMeshComponent…
9
votes
1 answer

Why the UPROPERTY specifiers Visible*/Edit* are used together with BlueprintRead*

Unreal Engine 4 provides three specifiers to control the visibility and editability of an C++ class member exposed to Blueprint via UPROPERTY(). The documentation in the UE4 source code (see also UE4 wiki, UE4 documentation) says the following…
Roi Danton
  • 7,933
  • 6
  • 68
  • 80
9
votes
3 answers

C++ Nested JSON in Unreal Engine 4

I have a JSON object that I am getting from my server that looks something like this: { "state":"1", "player1": { "alias":"Player Name", "ready":"0" } } I am able to get the JSON, parse it into a FJsonObject, and…
Liftoff
  • 24,717
  • 13
  • 66
  • 119
8
votes
3 answers

what's the difference between alpha channel and tranparency channel?

I thaught they were the same. But these days I found png and targa textures behaves differently in UE4. Today I read something at Adobe, Alpha channels can contain anything, while transparency is a specific channel relationship. And it says…
user861746
  • 541
  • 2
  • 9
  • 14
1
2 3
99 100