leober
August 8, 2023, 7:23am
1
Does cesium for unity support linux release and operation?
We don’t current distribute binaries for Linux, but you can build them yourself by following the Developer Setup instructions:
# Overview
This is a summary of the setup and workflows for developers who want to modify the Cesium for Unity plugin. If you just want to use Cesium for Unity in your own applications, see the main [README](../README.md).
## :computer: Building Cesium for Unity
### Prerequisites
* CMake v3.15 or later (the latest version is recommended)
* [.NET SDK v6.0 or later](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
* If you're using Visual Studio, you need Visual Studio 2022.
* Unity 2021.3+ (the latest version of the Unity 2021.3 LTS release is recommended)
* On Windows, support for long file paths must be enabled, or you are likely to see build errors. See [Maximum Path Length Limitation](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry#enable-long-paths-in-windows-10-version-1607-and-later).
* For best JPEG-decoding performance, you must have [nasm](https://www.nasm.us/) installed so that CMake can find it. Everything will work fine without it, just slower.
The built Cesium for Unity Assembly will run on much older versions of .NET, including the version of Mono included in Unity. However, these very recent versions are required for the C#<->C++ interop code generator (Reinterop).
To make sure things are set up correctly, open a command-prompt (PowerShell is a good choice on Windows) and run:
* `dotnet --version` and verify that it reports 6.0 or later
This file has been truncated. show original
leober
August 8, 2023, 9:28am
3
Is there a development plan for supporting the Linux platform
It’s not currently a high priority, as we’ve generally found Linux users are willing and able to build it themselves.
Publishing platforms for Windows and Linux, hoping to release tutorials for the Linux platform
Hello! Can the execution program of the Linux version of cesium for unity compile successfully in the Windows environment? Compile in Linux environment?
It’s probably possible to cross-compile it for Linux on a Windows machine, but I haven’t tried it. Is that what you’re asking?
Can compile successfully in the window environment, but does not display maps on Linux
We do not ship binaries for Linux. If you need to run on Linux, you need to build the plugin yourself by following the Developer Setup instructions linked above. Have you done that?