Questions in Game Tech

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

4.27 Can't package project (windows)

Hey! I've created a blank project and configured all 4 features (tested on a sample map) and wanted to package the project for windows. I've tried both develop and shipping configuration. I've followed provided packaging guide by adding GameKitConfig into Additional Non-Asset Directories to Copy (as it's been told in here https://docs.aws.amazon.com/gamekit/latest/DevGuide/awsgamekit-dg.pdf) But on packaging I'm getting following errors (they are actually differs based on what build configuration is selected. Any tips on fixing it? Build error logs: Development: `UATHelper: Packaging (Windows (64-bit)): LogThreadingWindows: Error: Runnable thread TaskGraphThreadBP 28 crashed. UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: begin: stack for UAT UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: === Critical error: === UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: Assertion failed: IsValid() [File:C:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 890] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff91555466c KERNELBASE.dll!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff843090216 UE4Editor-Core.dll!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff843094218 UE4Editor-Core.dll!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff842db242d UE4Editor-Core.dll!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff842d06a45 UE4Editor-Core.dll!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff842d080a0 UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: Runnable thread TaskGraphThreadBP 28 crashed. UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff880159a3b UE4Editor-AwsGameKitEditor.dll!<lambda_e3306f270c8206d8a5dae464b60dea3e>::operator()() [D:\Develop\Projects\AWSGameKit\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitEditor.cpp:166] PackagingResults: Error: begin: stack for UAT PackagingResults: Error: === Critical error: === UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff842aff045 UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: Assertion failed: IsValid() [File:C:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 890] PackagingResults: Error: [Callstack] 0x00007ff91555466c KERNELBASE.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff843090216 UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff843094218 UE4Editor-Core.dll!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff842b11507 UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff842db242d UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff842d06a45 UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff842d080a0 UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff880159a3b UE4Editor-AwsGameKitEditor.dll!<lambda_e3306f270c8206d8a5dae464b60dea3e>::operator()() [D:\Develop\Projects\AWSGameKit\Plugins\AwsGameKit\Source\AwsGameKitEditor\Private\AwsGameKitEditor.cpp:166] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff842b12860 UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff842aff045 UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff842b11507 UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff842b12860 UE4Editor-Core.dll!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff842b19aa5 UE4Editor-Core.dll!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff8430aff0b UE4Editor-Core.dll!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff8430a7050 UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff842b19aa5 UE4Editor-Core.dll!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff9173c54e0 KERNEL32.DLL!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff8430aff0b UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff8430a7050 UE4Editor-Core.dll!UnknownFunction [] PackagingResults: Error: [Callstack] 0x00007ff9173c54e0 KERNEL32.DLL!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff917d6485b ntdll.dll!UnknownFunction [] UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: Crash in runnable thread TaskGraphThreadBP 28 UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: end: stack for UAT PackagingResults: Error: [Callstack] 0x00007ff917d6485b ntdll.dll!UnknownFunction [] PackagingResults: Error: Crash in runnable thread TaskGraphThreadBP 28 PackagingResults: Error: end: stack for UAT` Shipping (same error for all aws dll files `UATHelper: Packaging (Windows (64-bit)): Writing manifest to D:\Develop\Projects\AWSGameKit\Intermediate\Build\Manifest.xml UATHelper: Packaging (Windows (64-bit)): Failed to delete file 'D:\Develop\Projects\AWSGameKit\Binaries\Win64\aws-c-event-stream.dll' UATHelper: Packaging (Windows (64-bit)): Exception: Access to the path 'D:\Develop\Projects\AWSGameKit\Binaries\Win64\aws-c-event-stream.dll' is denied. UATHelper: Packaging (Windows (64-bit)): Attempting to retry... UATHelper: Packaging (Windows (64-bit)): Failed to delete file 'D:\Develop\Projects\AWSGameKit\Binaries\Win64\aws-c-event-stream.dll' UATHelper: Packaging (Windows (64-bit)): Exception: Access to the path 'D:\Develop\Projects\AWSGameKit\Binaries\Win64\aws-c-event-stream.dll' is denied. UATHelper: Packaging (Windows (64-bit)): Attempting to retry... UATHelper: Packaging (Windows (64-bit)): Failed to delete file 'D:\Develop\Projects\AWSGameKit\Binaries\Win64\aws-c-event-stream.dll' UATHelper: Packaging (Windows (64-bit)): Exception: Access to the path 'D:\Develop\Projects\AWSGameKit\Binaries\Win64\aws-c-event-stream.dll' is denied. UATHelper: Packaging (Windows (64-bit)): ERROR: Exhausted all retries! UATHelper: Packaging (Windows (64-bit)): Failed to delete file 'D:\Develop\Projects\AWSGameKit\Binaries\Win64\aws-cpp-sdk-lambda.dll' PackagingResults: Error: Exhausted all retries!` Thanks!
1
answers
0
votes
245
views
PeterS
asked 7 months ago

GameLiftLocal Crashes when commands are given to it

We are in the process of testing GameLift for our game. We have created an Amazon Linux 2 VM under Virtual Box and have a working sample server form Github working and also have GameLiftLocal running on the machine. We run Gamelift running the following command: ``` [ec2-user@vm_gamelift3 GameLiftLocal-1.0.5]$ java -jar GameLiftLocal.jar ``` This seems to result in a successful startup: ``` 05:22:54,823 INFO || - [SocketIOServer] main - Session store / pubsub factory used: MemoryStoreFactory (local session store only) 05:22:59,344 WARN || - [ServerBootstrap] main - Unknown channel option 'SO_LINGER' for channel '[id: 0x88185e57]' 05:22:59,353 INFO || - [SDKConnection] main - GameLift SDK server (communicates with your game server) has started on http://localhost:5757 05:22:59,390 INFO || - [SocketIOServer] nioEventLoopGroup-2-1 - SocketIO server started at port: 5757 05:22:59,450 INFO || - [SdkWebSocketServer] WebSocketSelector-13 - WebSocket Server started on address localhost/127.0.0.1:5759 05:22:59,655 INFO || - [StandAloneServer] main - GameLift Client server (listens for GameLift client APIs) has started on http://localhost:8080 05:22:59,705 INFO || - [StandAloneServer] main - GameLift server sdk http listener has started on http://localhost:5758 ``` We also get a good connection when starting up the game server sample locally. However, when we attempt to issue the local server a command, it always comes back with an exception ``` [ec2-user@vm_gamelift3 ~]$ aws gamelift create-game-session --endpoint-url http://127.0.0.1:5758 --maximum-player-session-count 2 --fleet-id fleet-123 ``` ``` An error occurred (NullPointerException) when calling the CreateGameSession operation (reached max retries: 4): ``` The server does not completely crash, but does give a warning and a call stack of the exception that was caught ``` 05:25:31,497 WARN || - [GameLiftSdkHttpHandler] GameLiftSdkHttpHandler-thread-0 - Caught exception java.lang.NullPointerException at com.amazon.gamelift.handlers.GameLiftSdkHttpHandler.validateHeaders(GameLiftSdkHttpHandler.java:84) at com.amazon.gamelift.handlers.GameLiftSdkHttpHandler.handle(GameLiftSdkHttpHandler.java:55) at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79) at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83) at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82) at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:700) at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79) at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:672) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 05:25:31,554 WARN || - [GameLiftSdkHttpHandler] GameLiftSdkHttpHandler-thread-0 - Caught exception null ``` This exception also occurs when we just try to describe the sessions, so it seems to be any command you issue the jar on that socket. How do I resolve this so that I can get to actually testing my code? Thank you! David
2
answers
0
votes
100
views
asked 7 months ago