CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
916 stars 292 forks source link

Deprecation warnings when building Cesium for Unreal #1314

Closed lilleyse closed 7 months ago

lilleyse commented 9 months ago

I'm seeing a couple deprecation warnings when building Cesium for Unreal

1>C:...\Plugins\cesium-unreal\Source\CesiumEditor\Private\CesiumIonTokenTroubleshooting.cpp(326): warning C4996: 'FEditorStyle::GetBrush': FEditorStyle::GetBrush() is deprecated, use FAppStyle::GetBrush() instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

1>C:...\Plugins\cesium-unreal\Source\CesiumRuntime\Private\CesiumTextureUtility.cpp(362): warning C4996: 'RHICreateTexture2D': FRHITexture2D is deprecated, please use RHICreateTexture(const FRHITextureCreateDesc&). Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

TeraDanielR commented 9 months ago

Which version of Unreal is this for?

lilleyse commented 9 months ago

Unreal Engine 5.2