Cesium for Unity cannot be successfully packaged using the default ProjectSettings (an error will be reported). When I came to the cesium official forum , I saw that the official said that I would try using cesium for unity samples to package Android. I found that it can be packaged successfully, but of course we will not do it. It was developed in an official project that added a lot of things, so how should we make our project support Cesium for Unity packaging Android?
There are two methods to try:
- Use the last person's answer in the forum discussion to solve the problem
- Although the above method can solve the packaging problem (some people can't do it, then use the second one), Cesium for Unity is a bit stressful when running on the mobile phone, so we need to set some settings to reduce the rendering quality like the official case. Settings ** (Best Practice) **
If you still get package errors after configuring as above, then check your Unity version, preferably 2021.3.10 or above, and restart the project after modification, and then Just go pack it.