Coder Social home page Coder Social logo

github-actions-unity-tutorial's People

Contributors

chatrat12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

github-actions-unity-tutorial's Issues

IDK what going on

please note i removed the decryption step as my repo is private

log:
` Set up job2s
Download action repository 'actions/upload-artifact@v1'
Current runner version: '2.165.2'
Prepare workflow directory
Prepare all required actions
Download action repository 'actions/checkout@v1'
Download action repository 'actions/upload-artifact@v1'
Initialize containers1m 45s
8f1f59a1504d: Pull complete
f7edf41c85fc: Waiting
cb83bf923779: Waiting
651c9d2d6c4f: Waiting
57713391de77: Waiting
c63719cdbe7a: Verifying Checksum
c63719cdbe7a: Download complete
19a861ea6baf: Verifying Checksum
19a861ea6baf: Download complete
651c9d2d6c4f: Verifying Checksum
651c9d2d6c4f: Download complete
5c939e3a4d10: Verifying Checksum
5c939e3a4d10: Download complete
89df4096ca21: Verifying Checksum
89df4096ca21: Download complete
f7edf41c85fc: Verifying Checksum
f7edf41c85fc: Download complete
cb83bf923779: Verifying Checksum
cb83bf923779: Download complete
57713391de77: Verifying Checksum
57713391de77: Download complete
5c939e3a4d10: Pull complete
c63719cdbe7a: Pull complete
19a861ea6baf: Pull complete
651c9d2d6c4f: Pull complete
8f1f59a1504d: Verifying Checksum
8f1f59a1504d: Download complete
57713391de77: Pull complete
8f1f59a1504d: Pull complete
Checkout Project24s
remote: Counting objects: 43% (14/32)
Run actions/checkout@v1
Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
Syncing repository: REPO
git version
git version 2.25.0
git lfs version
git-lfs/2.10.0 (GitHub; linux amd64; go 1.13.4)
git init "/home/runner/work/REPO"
Initialized empty Git repository in /home/runner/work/REPO
git remote add origin https://github.com/Suyashtnt/REPO
git config gc.auto 0
git config --get-all http.https://github.com/Suyashtnt/REPO
git -c http.extraheader="AUTHORIZATION: basic *" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/:refs/remotes/origin/
remote: Enumerating objects: 32, done.
remote: Counting objects: 3% (1/32)
remote: Counting objects: 6% (2/32)
remote: Counting objects: 9% (3/32)
remote: Counting objects: 12% (4/32)
remote: Counting objects: 15% (5/32)
remote: Counting objects: 18% (6/32)
remote: Counting objects: 21% (7/32)
remote: Counting objects: 25% (8/32)
remote: Counting objects: 28% (9/32)
remote: Counting objects: 31% (10/32)
remote: Counting objects: 34% (11/32)
remote: Counting objects: 37% (12/32)
remote: Counting objects: 40% (13/32)
Activate Unity2s
License file loaded.
Run /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -manualLicenseFile .github/Unity_v2019.x.ulf || exit 0
CreateDirectory '' failed: (current dir: )
[LicensingClient] ERROR Failed to connect to local IPC
[Licensing::Module] Failed to connect to channel: LicenseClient-root
[Licensing::Module] Successfully launched the LicensingClient
[Licensing::Module] Successfully connected to LicensingClient on channel: LicenseClient-root
[SignatureVerifier] Application signature verification not supported on this platform.
[Licensing::Module] Successfully launched and connected to LicensingClient
Entitlement-based licensing initiated
[LicensingClient] Licenses Updated successfully in LicensingClient

Load manual activation license file.

LICENSE SYSTEM [2020223 9:33:9] Load license file from: .github/Unity_v2019.x.ulf

License file loaded.
Build Windows Player41s
##[error]Process completed with exit code 1.
Run /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath ./the-cube-game-PC -buildWindows64Player ./bin-win64/CISample.exe
CreateDirectory '' failed: (current dir: )
[LicensingClient] ERROR Failed to connect to local IPC
[Licensing::Module] Failed to connect to channel: LicenseClient-root
[Licensing::Module] Successfully launched the LicensingClient
[Licensing::Module] Successfully connected to LicensingClient on channel: LicenseClient-root
[SignatureVerifier] Application signature verification not supported on this platform.
[Licensing::Module] Successfully launched and connected to LicensingClient
Entitlement-based licensing initiated
[LicensingClient] Licenses Updated successfully in LicensingClient
DisplayProgressbar: Unity license
[UnityConnectServicesConfig] config is NOT valid, switching to default
[Licensing::Module] License is not active (com.unity.editor.headless). HasEntitlements will fail.
[0223/093311:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
Cancelling DisplayDialog: Failed to activate/update license Missing or bad username or password. Please try again using valid credentials or contact [email protected]
This should not be called in batch mode.
(Filename: ./Editor/Platform/Linux/EditorUtility.cpp Line: 274)

##[error]Process completed with exit code 1.
Archive Windows Build0s
Stop containers1s
github_network_193dd9feb3d242cd9f7cf22d04c32f59
Stop and remove container: cd928c2777434939b95f4e5b09a1acd1_gablerouxunity3d201931f1_33e222
/usr/bin/docker rm --force e277f2e223daab1f985f284115e4aaa81ef05c7c49760ce0d9dd941fc13e8124
e277f2e223daab1f985f284115e4aaa81ef05c7c49760ce0d9dd941fc13e8124
Remove container network: github_network_193dd9feb3d242cd9f7cf22d04c32f59
/usr/bin/docker network rm github_network_193dd9feb3d242cd9f7cf22d04c32f59
github_network_193dd9feb3d242cd9f7cf22d04c32f59
Complete job`

Segmentation fault (core dumped)

I am using the gableroux/unity3d:2019.2.11f1-android image, but as I'm running my build, the processes crashes with a "Segmentation Fault" Core Dump Error.

From my research, when Unity begins to build the scenes, it starts with the baked lighting in the scene. My build fails because Unity requires graphics to build the lighting assets, etc.

I wanted to know if you could provide any assistance, since you are also using the -nographics argument for your build. I have attached my CircleCi Config file, along with a picture of the error I am receiving.

Thank you and I look forward to your response.

Config File:

version: 2
jobs:
build:
docker:
- image: gableroux/unity3d:2019.2.11f1-android

working_directory: ~/repo

steps:
  - checkout

  #Decrypt the License File
  - run:
      name: Decrypting the Unity License File 
      command: openssl aes-256-cbc -d -in .circleci/Unity_v2019.x.ulf.enc -k ${UNITY_LICENSE_DECRYPT_KEY} >> .circleci/Unity_v2019.x.ulf

  #Activate Unity
  - run:
      name: Activating Unity
      command: /opt/Unity/Editor/Unity -quit -batchmode -nographics -logFile -manualLicenseFile .circleci/Unity_v2019.x.ulf || exit 0
  
  #Installing XServer for Graphics Build
  - run:
      name: Installing XServer
      command: apt-get install xorg-x11-xserver-xorg
  
  #Building Unity Project and Compiling Scripts
  - run:
      name: Building Unity Project and Compiling Scripts
      command: /opt/Unity/Editor/Unity -quit -nographics -logFile - -projectpath . -batchmode -executeMethod BuildScript.PerformBuild

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.