UE4 – Package a Project for Windows

Software:
Unreal Engine 4.25

Basic steps for packaging a simple UE4 project for Windows:

Package settings:
Open the Project Settings window:
Untitled-1.jpg

  1. In: Project > Description
    Set the project’s details and thumbnail:
    > The Project thumbnail will apear in the UE4 Editor browser.
    > Thumbnail image must be a 192 x 192 resolution PNG
    Untitled-4
  2. In: Project > Maps & Modes
    Set default level (Map) for the project:
    Untitled-5
  3. In: Project > Packaging
    Choose build configuration
    > For final distribution choose ‘Shipping‘:
    Untitled-6
  4. In: Project > Supported Platforms:
    Make sure Windows is selected:
    Untitled-7.jpg

Setting user input focus:
* So the user doesn’t have to mouse click the screen before being able to control the game.
Select the FirstPersonCharacter Actor and enter editing mode.
In the Event Graph Blueprint, locate the Event BeginPlay node, add a Set Input Game Only node, after it, and connect a Get Player Controller node set to index 0, to it’s Player Controller input:
Annotation 2020-07-14 175909
Note that if there are UI user interactions, in the game, you may need to switch to different input modes during the game to allow interaction with UI.

Adding a Quit command:
Select the FirstPersonCharacter Actor and enter editing mode.
In the Event Graph Blueprint, add an Escape key press Event node,
And connect it to a Quit Game command node.

Untitled-9.jpg

 

Creating the game package:
Choose:
File > Package Project > Windows > Windows (64-bit)
And select an output folder.

Untitled-8.jpg

A folder named “WindowsNoEditor” will be created,
And inside it will be the game executable along with code and assets folders.
This package can be renamed and copied to other locations.

 

Possible causes for packaging failure:
There are many reasons packaging a UE project can fail,
I certainly don’t know all of them, but I’ll list some cases I actually encountered:

  1. If the project folder is located within a deep folder structure, packaging errors may occur because of long file paths.
    * Sorry I didn’t save the actual error message..
  2. Installing a plugin twice by mistake will cause the following error:
    Error: System.ArgumentException: An item with the same key has already been added.
    * I mistakenly installed the Houdini engine plugin both in the Plugins\Runtime folder and in the Plugins folder (this specific plugin should be only in Plugins\Runtime).

 

Related posts:

  1. UE4 – 3ds max & V-Ray Datasmith workflow
  2. Cleanup the FPS project template for Archvis 

 

Rendering an Animation in Maya and V-Ray

Software:
Maya 2018 | V-Ray 3.6

  1. Set a Project Folder or Image output path.
  2. In Render Settings > Common under Image File Output,
    Set a file name and format.
  3. In Render Settings > Common under Animation,
    Set Animation to Standard.
  4. Set the Maya UI to Rendering and choose Render > Render Sequence,
    Or simply press the Render Button in the toolbar.

Untitled-1

 

Related post:
Denoising animations with V-Ray for Maya

Maya – Set render output Files

Software:
Maya 2018

Setting the file output path:

File > Project Window

In the ‘Images’ path,
Click the folder button on the right to set the path

* You can set a general Project folder for more global control of project related file paths

untitled-31.jpg

Setting the file format:

Render Settings > Image File Output

* Click ‘Image Format Options’ for more image file format control

untitled-32.jpg