-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Add UE 4.27, 5.0 and 5.1 to CI pipeline #675
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 suggestion on how to deal with ifdef and verison, but that thought process would need to be applied everywhere
@@ -74,7 +74,7 @@ void PrintVerboseLog(sentry_level_t level, const char *message, va_list args, vo | |||
|
|||
void PrintCrashLog(const sentry_ucontext_t *uctx) | |||
{ | |||
#if PLATFORM_WINDOWS | |||
#if PLATFORM_WINDOWS && ENGINE_MAJOR_VERSION == 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about this so if/when 6 lands, it's included automatically? (I assume nothign would work on UE3 anyway)?
#if PLATFORM_WINDOWS && ENGINE_MAJOR_VERSION == 5 | |
#if PLATFORM_WINDOWS && ENGINE_MAJOR_VERSION != 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we have quite a few places with the version-specific code I've created a separate issue to track this request - #676
This PR ensures that the plugin stays backward compatible with some older Unreal versions (including UE 4.27) and addresses minor build errors that were revealed during testing.
The plugin will continue to support at least the latest three Unreal Engine versions to comply with Marketplace guidelines while the decision to drop support for older ones may be influenced by the outcome of #664.
It's also worth noticing that the corresponding packages will be added to the release page.
Closes #661
Related to #575