Description

Here's a sample blueprint

[Image Removed]

The lack of implementation FCustomThunkTemplates::SetMapPropertyByName causes this error.

#include "Kismet/BlueprintMapLibrary.h" // The fix needs this header


struct FCustomThunkTemplates
{
...
	template<typename T>
	static void SetMapPropertyByName(UObject* Object, FName PropertyName, const T& Value)
	{
		UBlueprintMapLibrary::GenericMap_SetMapPropertyByName(Object, PropertyName, &Value);
	}
}

Steps to Reproduce
  1. Open attached project on ue4.25 [Link Removed]
  2. Compile editor and launch
  3. After launching, Click File > Package  Project > Windows(64bit) on the menu

Result:

Build failed with the following error:

UATHelper: Packaging (Windows (64-bit)):     D:/dev/UE425projects/NatTestMapValue/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/NewActor__pf1010915279.cpp(520): error C2039: 'SetMapPropertyByName': is not a member of 'FCustomThunkTemplates'
UATHelper: Packaging (Windows (64-bit)):     E:\dev\UnrealEngine-4.25.3\Engine\Source\Runtime\Engine\Public\GeneratedCodeHelpers.h(86): note: see declaration of 'FCustomThunkTemplates'
UATHelper: Packaging (Windows (64-bit)):     D:/dev/UE425projects/NatTestMapValue/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/NewActor__pf1010915279.cpp(520): error C3861: 'SetMapPropertyByName': identifier not found

 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-100428 in the post.

1
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.25
Target Fix4.26
Fix Commit14431305
Release Commit14431305
CreatedOct 2, 2020
ResolvedOct 6, 2020
UpdatedApr 28, 2021
View Jira Issue