Closed arbertrary closed 1 month ago
Thanks @arbertrary. Adding those headers makes sense.
@arbertrary wow I was about to lose my mind :) haha thank you for sharing!
I'll take a look...
Hi @arbertrary , I'm having a problem reproducing these build errors.
Here's my setup:
Steps: 1) I setup two new projects in Unreal, one Blueprints, one C++ 2) Downloaded CesiumForUnreal-53-v2.5.0.zip from the releases page 3) Unzipped it, then copied "CesiumForUnreal" to each project's "Plugins" folder (I had to create this)
Both the blueprints and C++ project just works when opening. I could use the plugin just fine.
I even opened the test C++ project's .sln file and built all the configurations available. All built correctly.
Anything here look much different than what you are doing?
Actually, I take that back, if delete the contents of CesiumForUnreal/Binaries
, open the test blueprint project, Unreal will try to build the plugin, then fails with the errors mentioned.
Investigating...
I was getting the following build errors when trying to build a new UE 5.3 test project with the Cesium Plugin (downloaded
CesiumForUnreal-53-v2.5.0.zip
from the github releases page and extracted toPlugins/
folder).I'm a complete C++ beginner so I don't feel comfortable creating a pull request, but adding the following includes to
CesiumTextureUtility.spec.cpp
fixed the errors for me and allowed me to compile the project. These were suggestions by ChatGPT, I haven't checked whether all of them are necessary or only a subset.