Search
  • ychen3129

Unreal Engine Tips

Updated: Oct 8

Going to collect all little tips about UE4 here.

___________________________________________________________________

Outline

  1. Display the name of your key pressed

  2. Delete all the precomputed lighting data in a scene

  3. Fix Up Redirectory in Folder

  4. Run UE as administrator mode

  5. Visual studio Set up for UE4

  6. NUKE Unreal Engine Live Link

  7. Call BP function in Sequencer by keying the variables

  8. Rebuild a plugin from the command prompt

  9. Calling Blueprint custom events in the sequencer in UE4

  10. Use retriggerable Delay

  11. Random Sequence Player (Animation Blueprint)



___________________________________________________________________


  1. Display the name of your key pressed

Use Any key node



__________________________________________________________________________________________


2. Delete all the precompute lighting data in a scene

In the world setting, search for force

Check force no precomputed lighting

__________________________________________________________________________________________

3. when moving assets within content browsers

right click on the folder> select fix up Redirectors in folder would help avoid reference missing issue


______________________________________________________________________________

4. when creating a C++ project file, make sure to run the ue4 as administrator mode to avoid running into compile errors.


_______________________________________________________________________________

5.Visual studio Set up for UE4

When using houdini niagara plugin, make sure to have visual studio installed and set up for UE

You can find how to in this video https://youtu.be/xFY4CV6dpbI

Visual studio 2019 is recommended

For workloads tab : check desktop development with C++


for individual components tab check .net framework4.61 sdk and .net framework4.61 targeting pack



___________________________________________________________________________________

6. NUKE Unreal Engine Live Link

When using nuke reader live link for Unreal, make sure enable movie render q additional render passes plug-in.


_____________________________________________________________________________________

7. Call BP function in Sequencer by keying the variables

https://youtu.be/qt3x64Grlq0

Create an actor blueprint

Add a point light component



Create a Boolean variable for testing: name it: BoolTest

make sure the Expose to cinematics is enable

Make a funtion called it SetBoolTest, it has to start with keyword Set + the variable name

for the detail, enable call in the editor

has the input that match the variable type, the name can be different.

Let's do a light color set up

Create a level sequencer, drag in the BP, and key the variable


__________________________________________________________________________________________

8. How to rebuild a plugin from the command prompt

https://www.youtube.com/watch?v=2HHJ6AYnwFw&t=0s

Make sure to install and set up the visual studio for UE.

open command prompt:


Basically, we called RunUAT.bat

use BuildPlugin - plugin="the path for plugin"

-package = "the path for rebuild location"


For example:

>cd/


C:\Program Files\Epic Games\UE_5.0\Engine\Build\BatchFiles>RunUAT.bat BuildPlugin -plugin="C:\Program Files\Epic Games\UE_5.0\Engine\Plugins\FX\HoudiniNiagara\HoudiniNiagara.uplugin" -package="C:\A_Projects\Rebuild"

_________________________________________________________________________________


9. Calling Blueprint custom events in the sequencer in UE4

https://youtu.be/_12OBDLAMFI


Drag your BP in the sequencer

Create an event trigger track

Create a keyframe on the event track, right click to show the properties, choose quick bind, search for your custom event



_________________________________________________________________________________________

10. Use retriggerable Delay



_________________________________________________________________________________________

Random Sequence player (Animation Blueprint)


__________________________________________________________________________________________

Actor has a tag check, Get all actors with tag





__________________________________________________________________________________________


Sometimes I scale up the assets really big that it does weird disappear and reappear thing. It is because the frustum culling is kicking in too soon. To fix it Go to your blueprint actor component, scale up the bounds calling would fix it.


________________________________________________________________________________________

I was opening up one of my older unreal project. The error: couldn't set associated for project pop up.


First, go to your Unreal laucher director, find the Unreal version selector.

My path is C:\Program Files (x86)\Epic Games\Launcher\Engine\Binaries\Win64

Right click and copy it

Then go to your engine director and paste it in the win64 folder

My path is C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\Win64


double click on it

and yes


or

if this is not working

Lauch your project directly through the ue launcher

when it ask you to make a copy, do make a copy.


27 views0 comments

Recent Posts

See All