Using a Landscape BP brush in a WP map causes SCC validation to fail:
[2022.05.13-09.04.47:880][473]SourceControl: Error: Changelist validation failed!
[2022.05.13-09.04.47:881][473]SourceControl: Error: Encountered 2 errors:
[2022.05.13-09.04.47:881][473]SourceControl: Error: Actor /Game/Map_Temp_wp.Map_Temp_wp:PersistentLevel.Landscape has a missing reference to %s
[2022.05.13-09.04.47:881][473]SourceControl: Error: This changelist contains modifications that aren't valid at the world partition level. Please see source control log and correct the errors.. (WorldPartitionChangelistValidator)
Doing Build > Map Check will provide the same message when ITokenizedMessageErrorHandler::OnInvalidReference (WorldPartitionStreamingGenerationTokenizedMessageErrorHandler.cpp) is called when ReferenceActorDescView is null in FWorldPartitionStreamingGenerator::ValidateActorDescriptorViews (WorldPartitionStreamingGeneration.cpp):
for (ActorReferenceInfo& Info : References) { FWorldPartitionActorDescView* RefererActorDescView = Info.ActorDesc; FWorldPartitionActorDescView* ReferenceActorDescView = Info.ReferenceActorDesc; if (ReferenceActorDescView) { // code... } else { if (!NbValidationPasses) { ErrorHandler->OnInvalidReference(*RefererActorDescView, Info.ReferenceGuid); } // Do not increment NbErrorsDetected since it won't be fixed and thus will always occur }
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-151862 in the post.
9 |
Component | UE - LD & Modeling - Terrain - Landscape |
---|---|
Affects Versions | 5.0 |
Target Fix | 5.2 |
Created | May 13, 2022 |
---|---|
Resolved | Aug 26, 2022 |
Updated | Nov 3, 2022 |