Skip to content

Segmentation fault (core dumped) #1

@RycrisEnt

Description

@RycrisEnt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions