aws / aws-gamekit-unreal

The AWS GameKit Plugin for Unreal
https://docs.aws.amazon.com/gamekit/latest/DevGuide/getting-started.html
Apache License 2.0
68 stars 18 forks source link

Build Error #18

Closed baterdenemvp closed 2 years ago

baterdenemvp commented 2 years ago

PackagingResults: Error: unknown type name 'GAMEKIT_ACCOUNT_INSTANCE_HANDLE'

AMZN-kevomara commented 2 years ago

Hi @baterdenemvp ,

Thank you for reporting this issue.

Currently we don't support using AWS GameKit on Linux. We will consider adding support in a future release.

I'm looking into the Windows build issues now.

AMZN-kevomara commented 2 years ago

Hi @baterdenemvp ,

I've reproduced the issue for Windows when building through the Unreal UI: File > Package Project > Windows (64-bit).

I was able to build it successfully from the command line by following these instructions: AWS GameKit - Package a game for Windows or macOS

Could you try following those instructions to build your game from the command line?

AMZN-kevomara commented 2 years ago

Hi @baterdenemvp ,

I haven't been able to reproduce this issue when building from the command line.

Could you try the following steps?

  1. Manually delete all files named aws-* in '<YourProject>\Binaries\Win64.
  2. Restart your computer.
  3. Temporarily disable your anti-virus.
  4. Build your client from the command line.
  5. Build your server from the command line.

The purpose of restarting the computer is to terminate any programs that might be using the DLL and therefore preventing them from being deleted. Similar for disabling anti-virus.