Skip to content

Conversation

@azrogers
Copy link
Contributor

@azrogers azrogers commented Nov 4, 2025

The Unreal 5.7 preview is here, so I went through and updated everything to work with the new version. Most of the changes involve texture loading, as some of the deprecated paths we were using are now fully removed.

Still need to get 5.7 working on CI. Will probably wait for full release for that one.

@j9liu j9liu added this to the December 2025 Release milestone Nov 6, 2025

#define ENGINE_VERSION_5_5_OR_HIGHER \
(ENGINE_MAJOR_VERSION > 5 || ENGINE_MINOR_VERSION >= 5)
(ENGINE_MAJOR_VERSION > 5 && ENGINE_MINOR_VERSION >= 5)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

|| was correct, && is wrong. Think about how it will evaluate for 5.4, 5.5, and 6.1.

Copy link
Contributor Author

@azrogers azrogers Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this should be >= 5 or > 4, but wouldn't ENGINE_MAJOR_VERSION > 5 || ENGINE_MINOR_VERSION >= 5 also trigger for, say, Unreal 4.27?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. It should be (ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 5) || (ENGINE_MAJOR_VERSION > 5)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the original formulation of this won't work at all in 4.27. But neither will anything else in this code base. 😁

I'm pretty sure this will work in UE 5.6 and 5.7, but maybe not in
earlier versions.
So we use the one from cesium-native instead.
The release notes say r25b is the minimum, but it doesn't work, and the
Editor UI reports r27c is the actual minimum.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants