I’m running into a problem with getting my install script (install.sh) to run on the fleet’s creation. I’ve packaged and uploaded my game build:
aws gamelift upload-build --name Game --build-version 1 --build-root C:/path/to/GameDir --operating-system AMAZON_LINUX --region us-east-1
My directory is currently structured like so:
Game/ install.sh GameDir/ install.sh game.exe
NOTE: I’m running the upload-build command while I’m inside of the Game/ directory. The instance doesn’t seem to be able to find either of the install.sh files
FLEET_INITIALIZATION_FAILED Cannot run program "/local/game/install.sh" (in directory "/local/game"): error=2, No such file or directory
My game seems to be uploaded to /local/game/GameDir so I’m not sure where its trying to get install.sh from. Any ideas?