Questions tagged [unreal-4]

Unreal Engine 4 is a professional suite of tools and technologies used for building high-quality games across a range of platforms.

Filter by
Sorted by
Tagged with
1 vote
1 answer
53 views

How to calculate screen space UV coordinates from a specific camera

In Unreal Engine 4.27 I am currently trying to create a material (shader) that maps a texture onto a quad using the screen space coordinates from a specific camera. If I am using the current active ...
0 votes
0 answers
12 views

UProperty of AStaticMeshActor type resets to "None" after picking in Editor

I have an C++ class “Manager” that derivatives from AActor. Inside of it, I have a property of type AStaticMeshActor: ...
0 votes
0 answers
23 views

Getting start with Rider for Unreal - Why can Header file not be found when it is within same directory?

I am just getting to grips with the Rider editor. Why does this .cpp file fail to find the #include header file? It is in the same directory tree. Certainly they are not required to be in the same ...
  • 1
0 votes
0 answers
77 views

ue4 android packaging problem (WebViewControl.java:122 cannot find symbol)

Whenever I try to package my project for android I get this. Z:\app\src\main\java\com\epicgames\ue4\WebViewControl.java:122: error: cannot find symbol My setup: ...
  • 3
0 votes
1 answer
43 views

Invalid maximum heap size: -XX:MaxHeapSize=4096m

I am trying to package android project in UE4.27. And getting this I tried changing environment variable _JAVA_OPTIONS: -Xmx512M -Xms512M not worked. Where can I change MaxHeapSize, please tell me ...
  • 3
0 votes
0 answers
39 views

For UE5 camera, how to add additional 2D transforms after perspective projection?

Octopath Traveler's camera seems to be always horizontal (All vertical lines keep parallel after projection), but the projection center is not at the center of the screen. So there must be additional ...
  • 101
0 votes
0 answers
29 views

Can’t load game correctly

I have Save/Load functionality where I use LoadGameFromSlot, SaveGameToSlot and SaveGame ...
0 votes
0 answers
18 views

How do i spawn the collision component after being destroyed after player's death

So when I kill a player in my game the collision component stays there like an invisible wall. When I destroy actor and then I try to respawn the player the collision component dose not spawn and the ...
0 votes
1 answer
38 views

Alter vehicle angle to match that of ground

I am trying to align a non physics vehicle to the same angle as the floor, using blueprints in UE4.27 At first, I used normals, but this has undesired effects when going over things like speed bumps. ...
0 votes
0 answers
31 views

How do you add a timer that starts at the beginning of each level and ends when you complete the level in unreal engine 4?

So currently I have multiple levels in my game, and at the end of each level you automatically get teleported to the next level by a load level trigger, I am wondering how to implement a timer which ...
0 votes
0 answers
21 views

How can I send back data from one actor to another?

I have a UE4 project and I can't 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
1 answer
67 views

What kind of game is best to learn the basics [closed]

I am interested in learning Unreal Engine. What kind of game should I aim to build as a beginner which will teach me the most? Thanks.
0 votes
0 answers
67 views

Procedural terrain generation blueprint is generating a strip instead of a square

I want to procedurally generate a map for the world, I created a blueprint, and then launched it, but instead of a square, this turned out: How to fix it? I uploaded my project here (Google Drive). ...
0 votes
0 answers
43 views

Can I upgrade Unreal 4.27 to 5?

I tried to get Unreal 5 directly but I couldn't, the only option on the table was unreal 4.27, can I upgrade to 5 after 4.27 or do I need to consume another 20 gigs for 5?
  • 101
0 votes
0 answers
73 views

In Unreal Engine, how do I rotate an actor in-place along an arbitrary axis?

Consider the following cube actor. How do I rotate it in-place along the axis specified by the vector v? My use case for this is in the UI, the player would be ablet to rotate an object using the ...
  • 209
0 votes
1 answer
109 views

Help swapping out one player character for another

recently I’ve been working on a system that would allow the player to swap out one character for another with a touch of a button. So far I’ve just been trying to focus on switching to one character ...
0 votes
0 answers
23 views

Collision: Simplify Multiple UCX Objects

Unreal Engine 4/5 Is it absolutely necessary to create multiple UCX collision objects in my 3D program? I have a very small, simple room for the player to walk around in yet I have to create 18 ...
  • 111
0 votes
0 answers
57 views

Can't save high score in Unreal Engine blueprints

I'm trying to make a pinball game in Unreal Engine with blueprints, but the high score does not save. You have 2 lives while playing, and after the game ends this save game function executes. The game ...
0 votes
0 answers
18 views

Refactoring jump-to-damage blueprints into parent that forwards jump collision events

I was wondering if anyone could help me out with a problem I’m currently having. So I have this blueprint setup for damaging enemies by jumping on them, but the setup I’ve been using for a while now ...
0 votes
0 answers
16 views

Help with making a sidescroller enemy turn in the opposite direction

recently I’ve been working on a way to make a sidescrolling enemy turnaround & go back in the opposite direction when they collide with a non-player object, with my setup being based on the one ...
0 votes
0 answers
69 views

Porting Plugins from UE5.0 to UE5.1 source build causes DLL Registration Errors

I built UE5.1-Main from source successfully. I'm trying to port my UE5 marketplace plugins, but when I launch the editor I get these errors for all my ported plugins. I suspect it might have something ...
  • 101
1 vote
0 answers
95 views

Strange lighting/shadows in Unreal Engine game (shadow suddenly gets darker or lighter)

As the title suggests. I have made a level for Unreal Engine. It uses RectLights in the ceiling without any directional lighting. There is a Lightmass Importance ...
0 votes
0 answers
153 views

How to use UStaticMeshComponent::CalcBounds

UStaticMeshComponent::CalcBounds(const FTransform & LocalToWorld) I am confused by the name choice of this variable, is it local transform or is it world transform for instance if I have a static ...
  • 143
0 votes
0 answers
13 views

Mesh appearing 'see-through' when exporting from Blender to UE4 [duplicate]

The right wing of the dragon model is appearing see-through upon exporting, anything to double check for solutions? Thanks
0 votes
1 answer
639 views

Why is Visual studio 2022 intellisense not working on unreal engine 4.27?

I am new to unreal engine. Whenever I add a new class on unreal engine and open it in visual studio 2022 the intellisense doesn't seem to work for instance if I write #include "" it does not ...
  • 7
2 votes
0 answers
84 views

Is an ECS system without a traditional ECS memory layout a bad idea?

I've got a background in C++ but completely new to game dev, Unreal, and ECS. Recently, I learned about ECS and fell in love with the resulting project structure and theoretical reduction of spaghetti ...
  • 121
0 votes
0 answers
60 views

Unreal Engine "Character". Mesh Component cannot be moved on Z Axis at runtime?

I am using Unreal extending the Character class. I have a mesh of just arms for FPS view. It is child of the Camera Component which I created in the Character class. For some reason the Arms mesh does ...
0 votes
1 answer
27 views

How to find "roll" relative to horizontal

To avoid gimbal lock, I use quaternions for my rotations. For example, to roll I use this function: ...
  • 103
1 vote
1 answer
46 views

Rotating an Icon On MiniMap

I'm creating a minimap for my game. There is a mission where the player has to escort an NPC to an area. The minimap shows the player, the NPC and the location. The NPC icon sends an arrow from it's ...
  • 31
0 votes
1 answer
105 views

Unreal Engine Character Replication. Where to find out what exactly is being replicated? Is the Material replicated?

I have been experimenting with Steamworks SDK and Unreal Engine. I have managed to successfully code the connectivity part (ie. I can connect to a Steam Lobby with several players and it will then ...
1 vote
0 answers
407 views

Problem rendering Custom Fonts on UE4 Text Render Component

I have imported a TTF font on unreal engine. At first I just let unreal engine create the Font asset automatically, but when I try to create a material with that font it gives me a warning telling me ...
0 votes
0 answers
61 views

UE4: Does SpawnActor load assets from disk in runtime? Is it possible to cache it on load?

How does the SpawnActor work? If actor has meshes or sounds will it be loaded in runtime? Or will it load them on start? If it loads in runtime, how can we prevent it? (for i.e. cache all assets when ...
  • 241
1 vote
0 answers
24 views

UE4 - Low level calls in blueprint

I am looking to use blueprint nodes described as Low-level calls in the documentation such as this one https://docs.unrealengine.com/4.26/en-US/BlueprintAPI/Game/Cinematic/JumpTo_Frames/ but I can't ...
  • 111
0 votes
0 answers
66 views

Scrub through a cinematic / sequence frame by frame

I was wondering if anyone knows if it's possible to scrub through a cinematic or animation maybe using a slider widget. My goal is to allow the player to move freely in time, pause at a certain ...
  • 111
0 votes
0 answers
17 views

UE4 Town Building multiple Levels BP

I'am creating a litte town-building-game and created different buildings with different stats, like neededpower, workers and food. The player has to manage multiple towns which are organized in ...
1 vote
2 answers
685 views

Unreal Engine 4: How to select value for FName uproperty from array of FNames by dropdown list in editor details?

I have an actor class which have a FName UPROPERTY and also an array of strings loaded from config. I need to select a value from that array in editor details of that actor and assign it to that ...
  • 241
0 votes
0 answers
174 views

Rotate the Camera with the Character on Dynamic Gravity UE4

I’m trying to create a world which is not a flat plane on the X and Y axis, and so it will have dynamic gravity. I have been capable of rotating the Character around a Sphere (for testing) by creating ...
1 vote
0 answers
51 views

Unreal Engine 4 How to read saved player data?

I seem to have writing working fine now. But I am running into odd problems reading the data back. I want to iterate over the files so I tried this but I got an error in the log stating something ...
0 votes
0 answers
28 views

How to calculate if a complex shadow matches a Texture?

Unreal 4.27, newbie and experimenting, will switch to 5 if supporting features are not available in 4. I have a light on the left side of the room pointed toward the right side. In the middle of the ...
  • 101
0 votes
0 answers
84 views

Position History Struct - Storing position history

I was wondering if anyone is familiar with the Position History Struct: the documentation is extremely limited. I would simply like to store the position history of an actor and update it at each ...
  • 111
0 votes
0 answers
35 views

how much margin is needed for lightmap UVs in relation to the object's scale?

How much margin do lightmap UVs need to prevent light leaks in UE4? Is there a way to calculate the margin from the object's scale or its lightmap resolution in UE4?
1 vote
1 answer
122 views

Casting from APawn* to MyCustomCharacter* ? Is this ok?

So I am still learning C++ but been using it for quite a while. But I have a function which is not working properly (separate question posted here: Calling Client RPC in order to assign a Team value ...
1 vote
1 answer
259 views

Third Person Character Fall through the floor

i'm trying to get my main menu level works... but when i play from the main menu and go into the "Game"scene player will fall down throught the floor, but won't if i play directly from the &...
0 votes
0 answers
17 views

An object reference is not compatiable with it's child class object reference

So I got into this problem which one variable which pin is the child class of another class. WHich is BP_base item 1(the child class) with BP_base interactable I am wondering where it gets wrong? I'...
0 votes
0 answers
44 views

How to make a png or Paper 2D blueprint character move 3 dimensionally from location to location?

I have already turned the png files into blueprint class Paper 2D sprite thingies, but when I make it do an AI move blueprint it won't follow any of it and will stay still no matter what. I also ...
0 votes
0 answers
48 views

Unreal Engine 4 EOS Plugin : Game crashes when calling ClearOnCreateSessionCompleteDelegates

I have got login and logout working. I am now playing around with creating sessions. The session is successfully created, however in the callback for OnCreateSessionCompleteDelegates I call ...
0 votes
0 answers
49 views

Unreal Engine How would I make a one way physics door, that takes both walking into it, and mouse move it

Horror game. In the bathroom stalls I want the doors that opens 45 degrees you can walk into to open it or slowly use the mouse to open it while standing still and "lock" it, once inside ...
0 votes
1 answer
117 views

Unreal Engine: I cant login with EOS

I am giving a shot at trying out EOS. I am running into an error while trying to log in. I have a product and application set up in the online dev portal. Dont know if I have everything right though. ...
0 votes
1 answer
24 views

Traversing distance over time in Blueprint graph

I am trying to make a set of simplified physics blueprints, very simplified, as an exercise. I am keeping track of the position of an object and I would like to divide the distance it travels each ...
  • 111
1 vote
0 answers
242 views

What are Unreal Engines Pawn Action's Used for?

Inside of a Behavior Tree you can create a task called Push Pawn Action, and it appears you can select between several types of actions or create your own. What is the purpose of this and how is it ...

1
2 3 4 5
14