diff --git a/native~/Runtime/src/UnityPrepareRendererResources.cpp b/native~/Runtime/src/UnityPrepareRendererResources.cpp index 07085679..d56d0903 100644 --- a/native~/Runtime/src/UnityPrepareRendererResources.cpp +++ b/native~/Runtime/src/UnityPrepareRendererResources.cpp @@ -1724,7 +1724,7 @@ void UnityPrepareRendererResources::free( void* UnityPrepareRendererResources::prepareRasterInLoadThread( CesiumGltf::ImageAsset& image, const std::any& rendererOptions) { - CesiumGltfReader::GltfReader::generateMipMaps(image); + CesiumGltfReader::ImageDecoder::generateMipMaps(image); return nullptr; }