question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building the standalone OSX app fails - "Import failed"

See original GitHub issue

I’ve been trying to set up game-ci to use with our project. However, I am having some trouble getting the project to build. Adding relevant information below:

Unity3D version: 2020.3.11f1 Runner OS: ubuntu-latest

Action snippet

- name: Build project
  uses: game-ci/unity-builder@v2
  env:
    UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
    UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
    UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
  with:
    projectPath: qweebi-unity
    targetPlatform: StandaloneOSX
    buildName: Qweebi-MacOS.app

The build fails with the following error snippet:

2022-01-13T13:55:49.2373786Z Start importing Assets/_Art/HDRI/aerodynamics_workshop_16k.hdr using Guid(d61d87ff956983041a99faf0c7166812) Importer(-1,00000000000000000000000000000000) Killed
2022-01-13T13:55:49.3067839Z Build failed, with exit code 137
2022-01-13T13:55:50.0275073Z chmod: cannot access '/github/workspace/build/StandaloneOSX/StandaloneOSX.app/Contents/MacOS/*': No such file or directory

Can someone point me as to what I am doing wrong here?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
vinaysshenoycommented, Jan 18, 2022

@webbertakken I’m afraid I don’t know the actual reason since the build logs did not actually give a detailed error message and the error was a generic “Import failed”.

This was just something we tried and it turned out was the right solution.

0reactions
AshDevFrcommented, May 23, 2022

Hi, I am using the default config on Gitlab CI and I also get this error. My hdr file is 33MB and is failing to import on all builds (OSX, Linux, WebGL, …)

Start importing Assets/Procedural Worlds/Gaia/Lighting/Content Resources/Skyboxes/PW_Sky_Evening_Clear.hdr using Guid(17e01958f958b3469b23dfe8cfdca48f) Importer(-1,00000000000000000000000000000000) Killed
Cleaning up project directory and file based variables
00:03
ERROR: Job failed: exit code 1

I unfortunaly don’t have more logs than that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix “Import Failed” Mail Error on Mac - OSXDaily
Quit out of Mail app if it's still open · Open the Finder in MacOS, then pull down the “Go” menu and choose...
Read more >
Xcode 13.2 - Internal error : Miss… | Apple Developer Forums
Hi guys, just updated Xcode to 13.2 via Mac App Store. I installed the additional components, and my project won't compile anymore :...
Read more >
Build on macOS 12 Monterey fails on MacBook Pro 14" with ...
First I had to change the Library path to /opt/homebrew instead of /usr/local and it started building but in the end it stopped...
Read more >
Build error for macOS in Swift Package for iOS platform
Possibly a caching issue. SPM caches artefacts, including manifests. When you invoke swift package on the command line you see various cache ...
Read more >
Mac Unity Build (from a PC) not opening on Mac
However, the following information did allow my Mac Build to run after the compression. ... To fix this, you have to use Terminal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found