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.

How to run player after build on ubuntu

See original GitHub issue

I’m trying to run my player after its built, but I’m getting an error that says ./build/StandaloneLinux64: Is a directory. I’m not too familiar with ubuntu, so I’m not sure how I can run it.

- name: Build Project
  uses: game-ci/unity-builder@v2
  env:
    UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_UBUNTU }}
  with:
    projectPath: IL2CPP_Tests
    targetPlatform: StandaloneLinux64

- name: Run Tests
  run: |
    ./build/StandaloneLinux64 -batchmode --result:TestResults/test-results-il2cpp.xml --trace=Info --labels=All

Is this possible?

(In case you’re wondering why I want to do this, it’s because I’m trying to run unit tests on the IL2CPP runtime directly using NUnitLite, since unity test runner doesn’t work.)

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
timcassellcommented, Dec 14, 2022

Looks like I just needed ./build/StandaloneLinux64/StandaloneLinux64.

0reactions
timcassellcommented, Dec 16, 2022

Weirdly, it doesn’t actually work. The player never exits so the action eventually times out. I just re-jiggered it to run on a windows runner and it worked. I’m not sure if it’s an issue with NUnitLite on the OS (though I wouldn’t think so, it’s just a netstandard2.0 dll), or something wrong with my passing arguments, or what. Which kind of sucks, because the windows runner is so much slower than ubuntu.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VMware/Player - Community Help Wiki
On Ubuntu 14.04 and later. Install build-essential: sudo apt install gcc build-essential -y. Download the VMware bundle from VMware.
Read more >
mpv-player/mpv-build: Helper scripts to compile mpv on Linux
git clone https://github.com/mpv-player/mpv-build.git cd mpv-build. To get the ffmpeg, libass and mpv sources and build them, run the command: ./rebuild -j4.
Read more >
After installing Ubuntu 22.04, the default video player is ...
The workaround for the moment is to either use the Flatpak version of Totem or another video player, such as VLC, mpv, etc....
Read more >
22 Things You MUST DO After Installing Ubuntu 22.04 LTS ...
22 Things You MUST DO After Installing Ubuntu 22.04. Installed ubuntu 22.04 LTS and don't know what to do and where to start...
Read more >
Can't compile vmmon after Ubuntu 20.04 LTS and res...
I build an automated shell- script to help download, extract and build the VMWARE `vmnet` and `vmmon` files. Running the script should fix...
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