CesiumGS / cesium-unity

Bringing the 3D geospatial ecosystem to Unity
https://cesium.com/platform/cesium-for-unity/
Apache License 2.0
347 stars 83 forks source link

Remove URP component from DynamicCamera prefab #392

Closed azrogers closed 8 months ago

azrogers commented 8 months ago

Fixes #322.

In projects using the URP, Unity automatically adds a "Universal Additional Camera Data" component to cameras. This resulted in one ending up on the DynamicCamera prefab, which shows up as a Missing (Mono Script) in other render pipelines. This change removes the component entirely, as Unity will automatically add the appropriate Additional Camera Data component for the current render pipeline.

j9liu commented 8 months ago

Thanks @azrogers !