CesiumGS / CesiumGS/cesium-unity

Stripping Level "Medium" breaks CesiumGeoJsonDocumentRasterOverlay

Open
#684 0 comments 0 reactions 0 assignees View on GitHub
bug needs triage
Dominant language
C#
Stars
535
Forks
132
Avg merge
6h 45m
Merged PRs (30d)
1

Description

### What happened?

Hi fellow Cesium Users and Devs.

I want to share an observation:

When creating a build using the newest Cesium for Unity Plugin and programmatically creating a `CesiumGeoJsonDocumentRasterOverlay` using `FromDocument` as source, the functionally of `CesiumGeoJsonDocumentRasterOverlay` is stripped from the build (tested with WebGL) as long as the Managed Stripping Level is set to **Medium** or higher.

A easy workaround is setting the stripping level to "Low" or lower.

### Environment

Cesium for Unity version: 1.23.2
Unity Editor Version: 6000.3.10f1
Operating System: Win11 64Bit

### Reproduction steps

1. Under Project Settings > Player > Managed Stripping Level select a Setting higher than low.
2. Build

### Supporting evidence

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.