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,277
questions
0
votes
0
answers
15
views
Friend cannot open unreal project after cloning repository
My friend is experiencing a problem on opening an unreal 4.27.1 project. I opened a repository and created an unreal project in it, I can open the project fine but my friend cannot. The error targets ...
1
vote
0
answers
17
views
PixelStreaming Set-up Unreal Engine Ngrok
**
Disconnected: Streamer is not connected
**
I followed everything in this documentation
[1]: https://www.linkedin.com/pulse/pixel-streaming-set-up-unreal-engine-426-visual-c%C3%A1rdenas-viera/
2
votes
0
answers
25
views
Unreal Engine 4.27.2 C++ | SetText not updating UserWidget’s TextBlock | Using a WidgetComponent from a BP
I have an Actor BP, inside this BP I have a UWidgetComponent with a Widget Class already selected in the Details, and that Widget Class has a TextBlock. Now, inside this BP I also have a C++ ...
0
votes
0
answers
13
views
Unreal Engine 5: place cameras on a hemisphere
I have a hemisphere with radius 250. Located on the edge of the hemisphere (15 degrees above the base/horizon), I have 7 equally spaced points (i.e., 1 point every 360/7 degrees).
Using Unreal Engine ...
0
votes
0
answers
29
views
Unrea Engine Pixel Streaming Prepare Signalling Server in Power Shell
I am following this instruction [Link][1] on Unreal Documentation
But stuck at 2nd point Start the Servers
To prepare for the Signalling Server, start by opening PowerShell as
Administrator and ...
0
votes
2
answers
65
views
How can I have a local variable that persists over time but is not shared among all members of the same class?
I am programming c++ in Unreal Engine. I have some functions that use variables whose value I need to last in time and that are only used within that function. The problem is that if I declare them as ...
0
votes
0
answers
11
views
In Unreal, how can I access the instruction count of a material from a plugin?
I'm working on an editor plugin in Unreal where I need to access the instruction counts of materials. I found where this is normally done for the editor in the engine's code.
MaterialStatsCommon.h in ...
-1
votes
0
answers
15
views
Unreal Engine help in replicating material
I'm trying to replicate this material that I found on a forum but there are parts that are not being shown in the images! ("MF_Item_GetDiffuse" and "MF_Item_GetEmission" in the ...
0
votes
0
answers
62
views
What is __is_constructible in the Unreal Engine source code
While implementing type trait utilities in C++, I came across this function in Unreal engine's source code __is_constructible (I am using Unreal engine's source code as reference). Now I have tried to ...
-1
votes
0
answers
10
views
BP MQTT PLUGIN ISUUES IN UE4
i have added bp mqtt plugin from ue4 marketplace to my project and i created baseplayer cpp , when i try to call connect and client methods from baseplaer cpp it's giving errors
can you please help ...
-3
votes
0
answers
31
views
Unreal Engine Android Packaging Groovy Error
java.lang.ExceptionInInitializerError: Exception org.codehaus.groovy.GroovyBugError [in thread "Daemon worker"]
org.codehaus.groovy.GroovyBugError [in thread "Deamon worker"]
org....
0
votes
0
answers
12
views
Is there a delta serialization when saving blueprint to .uasset file in unreal engine?
In unreal engine, there is net delta serialization in network replication. I want to know whether UE uses delta serialization when saving blueprint to .uasset file on the disk. Is there undo/redo ...
-2
votes
0
answers
15
views
How to make modular crafting on UE4/5 [closed]
I want to made a system in which the crafting gives items a build-your-own flavor, where the player is able to pick from a set of choices. Like Fallout 4 weapon crafting or FarCry 5 weapon upgrades, ...
0
votes
1
answer
45
views
I can't understand this type of function pointer [duplicate]
I'm starting to study Unreal Engine and I saw this code:
UCLASS()
class AMyPlayerController : public APlayerController
{
GENERATED_BODY()
void SetupInputComponent()
{
Super::...
0
votes
1
answer
52
views
'identifier undefined' in C++11 for-loop with USTRUCT
I am implementing logging functionality in Unreal Engine 4.27 (in C++). A key part of my code is a function that is called once per game-tick. This function is responsible for iterating over an array ...
-1
votes
1
answer
56
views
Unreal engine 5 error "class AActor has no member SetupPlayerComponent"
So I'm having an error with my unreal c++ with this function (using ue5)
void ARollablePlayer::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
Super::SetupPlayerInputComponent();...
0
votes
0
answers
24
views
How can I send back data from one actor to another?
So i have a project on ue4 and i cant find a way to send data from one actor to another.I have a piston that snaps into an engine block,the piston then spawns 2 screws that need to be screwed in.The ...
0
votes
0
answers
50
views
Unreal C++: How to Get Nodes in Blueprint Graph
I’m trying to expand on our importer that I created using Unreal’s Python library so that on import it will update some of the data on node within the Blueprint Graph.
After investigating, this does ...
0
votes
0
answers
34
views
How to add box collision to subcomponent?
everyone. I am using ue4 blueprint to construct a pipe(Underground pipes), and I hope I can click the pipe then show the pipe's information. However I found that onclicked event works only when I ...
0
votes
0
answers
10
views
Unreal Building for Quest 2 : rungraddle.bat error
The the screen shot of the error
So i have been trying to build for the quest 2 and i cant seem to fix this error forever. I need help fixing this error or im goin to loose my mind
0
votes
0
answers
29
views
Natively defined Gameplay Tag is coming out as 'None'
I've registered a Native Gameplay Tag like so:
.h
UE_DECLARE_GAMEPLAY_TAG_EXTERN(GTag_Items_Test);
.cpp
UE_DEFINE_GAMEPLAY_TAG(GTag_Items_Test, "Items.Test");
However when I log it out:
...
-1
votes
0
answers
26
views
Why does the GPU execution time increase after shielding a large number of operations with the if instruction? [duplicate]
Why the draw call cost increase from 1ms to 1.3ms after I add if instruction?
if(not_white_area)
{
half4 color = tex2D(...);
some other instructions...
half result = 1 - smoothstep(...);
}
...
0
votes
0
answers
19
views
Is there a way to find if the geometry collection is asleep or awake and how many fragments are awake/asleep
Is there a way to find if the geometry collection is asleep or awake and how many fragments are awake/asleep?
GeometryCollection=CreateDefaultSubobject<UGeometryCollectionComponent(TEXT("...
0
votes
0
answers
38
views
I Need Help Understanding This Unreal Engine Blueprint
I found this blueprint on a forum but the person who made it available didn't show all the code! I was wondering if anyone could help me recreate it!
first part (this part makes the material oscillate ...
0
votes
0
answers
23
views
ffmpeg output to stdout is a black box (python)
Project Background:
The project I'm working on takes an image from a UE simulation camera, uses OpenCV to convert the image to .jpg, and streams the .jpg to a localhost port so that a second program ...
0
votes
0
answers
54
views
Problem with -nan(ind) when i print in unreal engine 4
i'm trying to make a chunk download system in Unreal Engine 4.27.2, but i've no c++ knowledge, i'm just follow this tutorial, the time he start to code the specific part is 10mins (https://www.youtube....
-2
votes
1
answer
56
views
using a x86 dll in a x64 C++ file [duplicate]
I have a x86 Dll and i am trying to run it in an x64 file as i am using C++ in visual studio and this is the only process i have available (as i am using unreal engine viual studio C++ class). The Dll ...
0
votes
0
answers
38
views
UE5 Blueprints - Cannot use Timeline on Foreach loop elements
When using a Timeline node inside a Foreach Loop, I get some strange results.
I'm trying to move 100 pillars on only their Z axis' but when adding the Timeline node to the code and using a lerp to try ...
0
votes
1
answer
67
views
Using x86 DLL in an unreal engine Win64 C++ class
I have written code in a .NET Framework C++ file. The code uses the Articares DLL to connect with the device through an IP address. Where instance is simply creating an instance of the classes I want ...
-1
votes
0
answers
29
views
Errors when trying to build AirSim project in Unreal engine on Mac OS
I am trying to build an AirSim project in Unreal engine on my Mac OS. Here is my OS and software information:
Xcode 13.4.1
Mac OS 12.4
Unreal Engine 4.27.2
During the build process I get a warning ...
0
votes
1
answer
71
views
Unreal C++ - Changing specific Static Mesh location by code
I'm new to Unreal Engine development and I'm struggling to do something which would be trivial in Unity.
I'm following this tutorial.
I'm trying to do the "Rotating the propeller" section ...
0
votes
0
answers
145
views
How to create pass-by-ref parameter in BlueprintCallable UFUNCTION that doesn't need variable plugged to pin and checks if variable was plugged or no?
What I want to achieve:
A Blueprint Callable function that takes UPARAM(ref) bool& as a parameter which can but doesn't have to be passed inside of Blueprint Graph (variable doesn't have to be ...
-2
votes
2
answers
66
views
How can i trigger a GPU Crash
Sometimes we can trigger a "CPU Crash" with code like:
*(int*)0=1234;
Correspondingly, any simple code can trigger a "GPU Crash" (may need some DirectX interface)?
Why I need this ...
2
votes
0
answers
37
views
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.
...
2
votes
2
answers
93
views
How can a class have a function implementation but without its declaration?
I am reading the following source code (taken from this repository).
void AVariableReplicationCharacter::GetLifetimeReplicatedProps(TArray< FLifetimeProperty >& OutLifetimeProps) const
{
...
0
votes
1
answer
40
views
How to set a mass of mesh of an actor (Blueprint or C++)?
I'm creating an actor that has a static mesh component. I want to acess that static mesh mass and override it to a variable. I've tried Set All Mass Scale, Set Mass Scale, Set Mass Override. In the ...
0
votes
0
answers
40
views
MSB3073 error when compiling Unreal Engine from source
I wanted to build Unreal Engine the Oculus version, so I :
dowloaded the Oculus version of Unreal Engine;
clicked on Setup.bat;
then on GenerateProjectFiles.bat
and then I opened the UE4.sln solution;...
0
votes
0
answers
18
views
Ai Patrols don't repeat(Unreal Engine 4/4.27)
I have created a patrol script, however, for some weird reason, they all stopped working randomly. The AI runs my patrol once but doesn't start another. The Navigation Mesh seems to work as my chasing ...
0
votes
0
answers
27
views
Navigation Stops Functioning (4.27)
I was building a stealth game with an ai, when for seemingly no reason, the ai stopped working, including the chase mechanics. It seems pawn sensing still works, but the nav mesh does not. It still ...
-1
votes
0
answers
46
views
Unreal Engine 4: get material properties from ray cast FHitResult
I would like to know if it is possible to get the material properties (i.e.: metalicity, roughness, diffuse constants, ambient lighting, specular constants, etc.) from a FHitResult object returned by ...
-1
votes
0
answers
25
views
Git LFS Removed, but Cant push to main
I recently ran over my free limit of Git LFS and decided to uninstall it and just ".ignore" the large files.
After I uninstalled I got this error and now can't push anything. Does anyone ...
0
votes
0
answers
26
views
Crash on importing audio after packaging game EXCEPTION_ACCESS_VIOLATION OVRlipsync Plugin UE4
Been working on a lipsync project on UE4.27 and the Oculus OVRlipsync and the project has been working very well on UE editor. Packaging the game to ship it to the client, I started facing issues that ...
0
votes
1
answer
109
views
Why World Context pin appears on function nodes called inside of Blueprint Function Library?
Lately I was creating some global functions inside of Bluprint Function Library (BPFL) and I've noticed that when I call function inside of another function that is also created in same BPFL, World ...
-2
votes
1
answer
70
views
Unreal Engine 4.27.2 is not creating C++ project
The project could not be compiled. Would you like to open it in Visual Studio Code?
Running Mono...
Found mono via known Mono.framework path
Running system mono/msbuild, version: Mono JIT compiler ...
0
votes
0
answers
29
views
How to add background blur when inspecting an object?
I want to add background blur when inspecting an object, I watched a lot of videos on the topic, but no one did blur, and if they did, they added the object to the widget.
I want something like this:
0
votes
2
answers
80
views
UE4 How to load level in commandlet?
I want to log all actors in level with commandlet, so I wrote the code like this.
#include "MyCommandlet.h"
#include "Kismet/GameplayStatics.h"
#include "Engine/...
-1
votes
0
answers
25
views
UnrealEngine4 Blendspace Issues: walk, preview, debug
After a lot of troubleshooting and googling case after case I was able to figure out how to get my blendspace working sort of. On play the character is stuck in idle. I tried some of the advice I saw ...
-1
votes
0
answers
26
views
Unreal Engine EQS point generation does not work correctly
I'm making a third person shooter game. Everything was going well till I got to the part where I wanted to start making an AI, more specifically when I started with the EQS(environment query system). ...
0
votes
0
answers
21
views
How to get audio listener position in unreal blueprint?
I am calculating relative speed between cars and my audio listener to achieve Doppler effect. So I need the vector from my audio listener to the object who is making sound. In C++ code, I can use &...
0
votes
0
answers
15
views
Hey folks ! I getting error when I debugging UE4.25 the file "dll" file is missing called 'MagicLeapSharedWorld.dll'
the file is in Engine/plugins/lumin/MagicLeapPassableWorld/MagicLeapSharedWorld.dll
can anyone may can share that file i can't rebuild it will take time about 3 days.