I made a game and uploaded it to a game site. I exported the build as windows mac OS and Linux. My thinking was that it supported all of those platforms but i guess not. Someone commented saying that the game didn't support linux. I have no idea why since it said it built for mac and windows and linux. Do i have to change settings? If so were? if its target platform i cant because the only option is windows.
Sounds like you haven't installed build support for Linux binaries in Unity. The way to do this in Unity can be found here:
- Open the Hub.
- Select Installs.
- Find the Editor you want to add the components to.
- Click the three dots to the right of the version label, then select Add Modules. (NOTE: If you didn’t install the Editor via the Hub, you will not see this option. To enable this option, install the Editor via the Hub.)
- In the Add Modules dialog, locate the module to add and tick its checkbox.
- When you have selected all the modules to add, select Done.
Note that while Unity can export binaries to other platforms, you probably still want to test the output binary on a system with the target platform, perhaps in a VM for an example.