SquarerFive / cesium-procedural-foliage

Apache License 2.0
39 stars 14 forks source link

Errors when building with Cesium for Unreal 1.8.1 #2

Closed fortek12 closed 2 years ago

fortek12 commented 2 years ago

Cesium_Procedural_Foliage_Build-Errors

I am seeing the attached errors when building for Cesium for Unreal 1.8.1 with Unreal Engine 4.27.X.

Cesium for Unreal updated many variable names in Cesium for Unreal 1.7 and beyond (see here: https://github.com/CesiumGS/cesium-unreal/blob/main/CHANGES.md), so I was able to fix those by updating the variable names in FoliageCaptureActor.cpp and ProceduralFoliageEllipsoid.cpp. These name updates resolved some of the constant declarations as well.

Primarily, I am unable to resolve the "'ACesium3DTileset::Georeference': cannot access private member declared in class" error satisfactorily. I tried making those private members public and it built successfully, but the foliage is still not being generated in Unreal after updating with my Cesium token.

SquarerFive commented 2 years ago

Hi, I've just pushed a fix for the latest version of cesium-for-unreal, foliage appears to be spawning now on my end, let me know if this works for you,

Thanks.

image

fortek12 commented 2 years ago

Everything is working now. Thank you for the quick turnaround! This is some really awesome work you developed.