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
2
votes
0 answers

Is there a way to animate 3d Objects with c/c++ only in unreal engine

I am searching for a way to animate meshes with c++ only without using blueprints, but could not find any approach. Is UE even allowing this? I want to add a character in a c++ project without any Blueprint and animate it with c++ only. I tried to…
2
votes
2 answers

What does the parameter code of this method mean?

As the title says, TBitArray<> does not have an exact type, so does it mean that this method can accept any such as TBitArray, TBitArray, ... as parameters? FORCEINLINE bool HasAll(const TBitArray<>& Other) const { …
Marsir
  • 105
  • 1
  • 2
  • 8
2
votes
0 answers

How to get the Number of Drawn Triangles reliably in Unreal?

I am desperately looking for a way to reliably get the average number of triangles drawn during a selected time window in UE 5.1. When I use command line tools for that I get weird numbers. For example, for a scene with a single object that has 220…
Can Celik
  • 131
  • 7
2
votes
1 answer

Attached actors are not displayed until mesh is toggled

I have a "collector actor" containing two sub-actors, other actor 1 and 2. When I drag this ACollectionActor in the editor I have to manually select the subactors and toggle their mesh before they become visible. But, if I drag in the "OtherActor"…
Decaf Sux
  • 305
  • 1
  • 11
2
votes
2 answers

Is there a way to dynamically change a comparison operator?

I'm creating an AI Director and need a way to change when the AI needs to pressure the player and when they need to move away. I've got a TArray of Objects and am checking the distance from the player. I'd like to either get the largest distance or…
2
votes
1 answer

Unreal Engine 5.1 does not compile with CppStandard set to c++20

In a fresh "Blank" project setting "CppStandard = CppStandardVersion.Cpp20;" in "*.Build.cs" leads to compile errors: 0>/opt/unreal-engine/Engine/Source/Runtime/Core/Public/Math/SHMath.h:39:38: Error : arithmetic between different enumeration…
Koronis Neilos
  • 700
  • 2
  • 6
  • 20
2
votes
1 answer

Brand New UE5 C++ Project Won't Build With No Errors

In every instance where I've created an Unreal Engine 5.1 project with C++ and build the default project, it pops up with these errors. Severity Code Description Project File Line Suppression State Error (active) E1835 attribute…
4N0M41Y
  • 324
  • 1
  • 4
  • 12
2
votes
2 answers

Problem installing UE5 via Linux Ubuntu terminal

First off, I'm a noob. So this is all new to me. I downloaded Linux_Unreal_Engine_5.0.3.zip from unrealengine.com/en-US/linux and I also downloaded V20 clang-13.0.1-based as well as V19 clang-11.0.1-based just in case because I didn't know which…
2
votes
1 answer

Unreal Engine Failed to initialize ShaderCodeLibrary

EDIT1: This problem also apears on windows so I think it is a general problem with unreal engine 5 and visual studio code. I am trying to debug a unreal engine 5 project. When running DebugGame I get the error message: Failed to initialize…
2
votes
1 answer

Air control for mouse movement to change direction mid-air after jumping

I'm working on a custom character in Unreal Engine 5. I want the player to have his velocity direction based on mouse movement when he is in the air. For example, when you jump forward and move your mouse right, he should follow the new direction,…
2
votes
0 answers

How do I fix a UWebBrowser not rendering anything in Unreal Engine UMG?

I'm having a really hard time creating a UWebBrowser and adding it to a UCanvas in C++. I got an equivalent blueprint working perfectly by just dropping the UWebBrowser widget into the UCanvas widget. The UTextBlock in my example renders perfectly,…
Ari Lotter
  • 605
  • 8
  • 23
2
votes
1 answer

How to solve UE5 crashing after enabling Agora plugin and opening video feed?

I've been trying to make Agora work properly in Unreal engine 5 for two days no with no luck at all. it packages correctly but after opening camera it crashes. I have found the function and the line causing the crash and I've tried every solution…
2
votes
1 answer

Can't generate project files for UE5 on Linux

I pulled UE5 from source, finished Setup.sh, and when I run GenerateProjectFiles.sh, I keep getting this error: ./GenerateProjectFiles.sh Attempting to set up UE pretty printers for gdb (existing UEPrinters.py, if any, will be overwritten)... …
Revan1611
  • 23
  • 1
  • 3
2
votes
0 answers

Failed to package the game with compiled plugin, Missing precompiled manifest

We packaged a plugin by following steps, Packaged the plugin and added bPrecompile=true in myplugin.build.cs (Also tried to package the build with -precompile argument) Before packaging myplugin.build.cs, public class MyPlugin : ModuleRules …
2
votes
2 answers

Crash of packaged game “Assertion failed: SchemaIt != SchemaEnd” Unreal Engine 5 Preview

It only happens with the packaged game. In editor, the game is running without any issues. Please find the crash log for the same below, [2022.03.12-07.46.58:755][ 0]Message dialog closed, result: Ok, title: The UE5-Demo_Store Game has crashed and…
1
2
3
40 41