Giter Site home page Giter Site logo

automate-unity-build-and-test's Introduction

Author: Jehoshua Josue

Unity Dependencies

  • Download and import the AltUnityTester from the Unity marketplace
  • Make sure that your scene has the AltUnityRunnerPrefab, and all gameObjects has the AltUnityId component

Things to do BEFORE running shell scripts

Unity Side:

  • Make sure that you're going to use the correct shell script based on your OS
  • Make sure that the corresponding script and the method names in the shell script are correct
  • Make sure that the C# script that will make the build in Unity has the proper parameters

Python side:

  • Create virtualenv with command: python -m venv NAME-YOUR-VIRTUALENV-HERE
  • Install python dependencies with command: pip install -r requirements.txt
  • Activate your virtualenv (for Windows) with command: source NAME-OF-VIRTUALENV/Scripts/activate
  • Activate your virtualenv (for MacOS) with command: source NAME-OF-VIRTUALENV/bin/activate
  • chmod +x NAME-OF-SHELL-SCRIPT
  • ./NAME-OF-SHELL-SCRIPT

Troubleshooting

  • If something goes wrong as you try to build your game, check the generated "build.log" file for some insight
  • If the altunity dependency for python doesn's install properly, try to get the latest from PyPi and explicitly install it

automate-unity-build-and-test's People

Contributors

n3cr0tech avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.