One of the problems is Editor can not get correct SVN status of collections at launch.
The following workaround enables to get the correct status.
FCollectionStatusInfo FCollection::GetStatusInfo() const { ... if (SourceControlProvider.IsAvailable()) { const FString AbsoluteFilename = FPaths::ConvertRelativePathToFull(SourceFilename); StatusInfo.SCCState = SourceControlProvider.GetState(AbsoluteFilename, EStateCacheUsage::Use); //workaround begins if(StatusInfo.SCCState->IsUnknown() ) { StatusInfo.SCCState = SourceControlProvider.GetState(AbsoluteFilename, EStateCacheUsage::ForceUpdate); } //workaround ends }
This seems to be due to the difference in behavior between FSubversionSourceControlState and FPerforceSourceControlState.
The following workaround results in same behavior, but neither actually gets the status of source control of the shard collection.-
-
deleted
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-149927 in the post.
1 |
Component | UE - Editor - Workflow Systems |
---|---|
Affects Versions | 5.0 |
Created | Apr 22, 2022 |
---|---|
Updated | Jan 20, 2024 |