Deploy to Linux standalone from Windows editor

Hi

Have a simple webcam capture application.

I am using Unity 2019.3 editor in Windows 10 to create and publish.

I can target Windows standalone and it works fine.

For Linux these are my settings

Target Platform Linux

Architecture x86_64

I also enable Development Build and Script Debugging.

I then build and am left with a folder containing

<filename>_linux_Data    
LinuxPlayer_s.debug    
<filename>_linux.x86_64    
UnityPlayer.so
UnityPlayer_s.debug

When I copy to my Linux desktop (Ubuntu 18.04 LTS) and try and launch any of the executables nothing happens. However a 0 bytes text file is created with garbage characters for its name.

What am I missing?

Is Ubuntu not a supported version of Linux?

Do I need to actually compile using a Linux version of Unity?

Hey @eco_bach, did you found any solution because I am also facing the same issues. I checked the player log and, I got to know that it requires OpenGL core profiler 3.2 or higher. But my Linux instance on a virtual machine has 1.2 mesa version. So I tried everything to update the version but, it’s not working. Can you tell me what you did to run the Linux standalone generated using unity editor on windows?

I was able to run my game by using the following command (mentioned here) on the terminal:
$ /home/myfolders/myproject.x86_64 -force-opengl