Closed hueyyeng closed 1 year ago
I am getting the same results 😢 This plugin is the only thing stopping from upgrading engine version to 5.3 Hopefully you guys are able to fix it soon! Thanks for the hard work
Update: I managed to get it build for 5.3 after making the required changes which can be found here: https://github.com/hueyyeng/UEGitPlugin/tree/ue53
@marister Can you try checking out to my forked branch and see if it works for you? I tested just the bare minimum and it works fine for me (locking, submit). Also not sure if just copy paste the modules and DLL files will works Win64.zip
@mastercoms Do you want me to create a PR to fix this? I'm not a C++ programmer so I'm not sure if the changes in my forked repo is the correct way. What I can recall is replacing the deprecated function to satisfy C++ 20 and adding if else condition when importing the Launch/Resources/Version.h
as that raises Fatal Error c1083 error. I'm unsure on how to approach the fix to satisfy UE 5.2 and 5.3.
going to wait a bit for a response.
I feel uncomfortable testing it before understanding if GetBaseRevForMerge
is actually something that can just be deleted
regarding Launch/Resources/Version.h
I think you can try to just switch to Runtime/Launch/Resources/Version.h
Hi, I won't be able to review the changes for a bit, unfortunately quite swamped, but on initial glance they look fine
FYI:
UE_DEPRECATED(5.3, "Use GetResolveInfo() and FindHistoryRevision() instead") virtual TSharedPtr<class ISourceControlRevision, ESPMode::ThreadSafe> GetBaseRevForMerge() const final { return FindHistoryRevision(GetResolveInfo().BaseRevision); }
I think the plugin already uses FindHistoryRevision, but it doesn't override GetResolveInfo. Not sure if we should do that.
Using version 3.14 in an Unreal 5.3 project I'm still getting the following compilation error:
Error C4855 implicit capture of 'this' via '[=]' is deprecated in '/std:c++20' UEGitPlugin\Source\GitSourceControl\Private\GitSourceControlRunner.cpp 60
I'm facing issue where I cannot build the plugin on 5.3.
Here's the error output log:
My understanding with UE 5.3, there is some deprecated function like GetBaseRevForMerge (https://docs.unrealengine.com/5.3/en-US/API/Developer/SourceControl/ISourceControlState/GetBaseRevForMerge/). I'm not familiar with C++ and building Unreal plugin but I'll see if I can try to modify the source and get it to build.
So far the current release branch works fine with UE 5.2 and hopefully this great plugin can be made compatible with 5.3.