TMap editor breaks when the component that has the TMap variable is in a blueprint.

TMap variable editor breaks when the component that has the TMap variable is in a blueprint.

The default element can be added multiple times and changing the value from the drop down (my test case uses enums) makes it partially work again.

Steps to Reproduce
Open attached project and open the only level (Blank.umap).

There are two objects in the scene, TestPointLight and BP_TestPointLight.

Under the testing category of each PointLight Component there are two variables one a simple TMap and a second FPerPlatformFloat which uses TMap internally.

They will both fail to work properly when modifying them in the BP_TestPointLight but not in the TestPointLight Actor.

Repro project attachment seemed to be missing.

Hi Alvaro,

Thanks for reporting this. I was able to reproduce the issue locally using your test project. I have filed a bug for this that should be visible here once it is approved to go public: Unreal Engine Issues and Bug Tracker (UE\-347278)

I’ll get the ticket triaged to the correct team to take a look at. Once it is fixed you should be able to find the github commit from the ticket.

Thanks,

Aditya Ravi Chandran