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
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…
8
votes
1 answer

Unreal Engine 5 - C++ Classes disappear after exiting the editor

Whenever I exit the Unreal Engine 5 editor, I've noticed that when I open it up again, my various C++ classes disappear. Fortunately, all I have to do is re-compile and they will be added back in again. However, it does become a serious…
jovandl
  • 183
  • 2
  • 6
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
5
votes
1 answer

How Unreal Engine implements UPROPERTY macro?

I'd like to implement something like UPROPERTY() macro in my project, but I cannot find any references of what it actually is. I mean, there're are tutorials on how this macro works, but these are just use cases. How does the compiler know that…
Edziju
  • 399
  • 11
4
votes
0 answers

Whenever I'm trying to create new project in Unreal Engine5 I'm getting this problem

An error occurred while trying to generate project files. Running D:/UE_5.1/Engine/Build/BatchFiles/Build.bat -projectfiles -project="D:/unreal projects/MyProject2/MyProject2.uproject" -game -rocket -progress Running UnrealBuildTool: dotnet…
4
votes
1 answer

Dynamic casting for TSharedPtr

i have to change my code from using std::shared_ptr to TSharedPtr (so i can use unreal engine's delegates properly), but there is a problem - i can't find function to replace std::dynamic_pointer_cast(std::shared_ptr), there is…
Notrum666
  • 303
  • 1
  • 10
4
votes
0 answers

Co-Simulation: AnyLogic and Unreal Engine

I understand that AnyLogic has a 3D Engine to visualize simulations, as described in the AnyLogic Documentation. Since the Unreal Engine is one of the most powerful 3D engine, I was wondering if it would be possible to couple these two tools, maybe…
Dr No
  • 118
  • 5
4
votes
2 answers

Unable to find a valid SDK for Mac

I tried install UE5 to my MacBook Pro m1. When I try create new project I got this error. ERROR: Unable to find a valid SDK for Mac. Found Version: 13.0. Must be between 11.0.0 and 12.9.9 If your Studio has it set up, you can run this command to…
Ozan Akdal
  • 51
  • 1
  • 4
3
votes
1 answer

UE5 In c++, How to create a component based on two (or more) components?

I first have to say that I'm new to Unreal :/ What I would like is two classes : One would be a component (CubeBlockComponent) which would be a CollisionBox with a Mesh, so I would like to use a UBoxComponent and a UStaticMeshComponent. Second would…
bobombe
  • 51
  • 3
3
votes
1 answer

Does Android Studio Emulator support OpenGL ES 3.2?

I am going to start mobile game development with Unreal Engine 5.1 It is required to use only devices that support GLES 3.2+. Early versions deprecated already starting from UE5.0 On my own phone, the build of my game deploys (via USB Debug) and…
3
votes
1 answer

Is it possible to define preprocessor directives for an Unreal project at build time?

I am looking for a way to easily define macros / preprocessor directives at project build/cook time for an Unreal Engine project. For example, if I want a defined C++ macro MY_BUILDTIME_VAR to be 0 in certain builds, and 1 in others, without having…
3
votes
1 answer

Owner in Unreal Engine

So I recently switched from Unity to Unreal and I cant understand the concept of Owner in Unreal. I understand parent-child relationships but what exactly is an owner? Changing the owner of an actor does not change it's hierarchy so how exactly is…
3
votes
0 answers

Streaming Levels Limits?

In UE it seems the only way to seamlessly travel between levels is with blueprint level streaming. My goal is to have a "loading level" which is a very basic, always loaded level that becomes visible when loading into a real level. Upon load…
hewiefreeman
  • 1,137
  • 1
  • 14
  • 31
2
votes
0 answers

Cannot create a Vulkan device, Try updating your video driver to more recent version

I'm trying to open a game which I made in Unreal Engine 5 and build for arm64. When I try to open the game I am getting an error: Cannot create a Vulkan device, Try updating your video driver to more recent version I couldn't figure out which…
2
votes
1 answer

Emulator: WARNING | Please update the emulator to one that supports the feature(s): Vulkan

I'm trying to run an application on Android emulator with unreal engine. However, the unreal supports only opens 3.2, and the emulator supports only 3.1. So I'm going to run the application with the vulkan. But my Android emulator doesn't seem to…
1
2 3
40 41