Developer Notes

Currently working as intended


Declaring a TMap< [type], bool> will fail to compile if it is declared as a UPROPERTY. The error seems to be with the bool because TMap< [type], int8> will compile as a UPROPERTY.

Steps to Reproduce
  1. Open UE4Editor (any project)
  2. Add Code to project based on Actor (MyActor)
  3. In MyActor.h add the following:
    TMap<FName, bool> TestTMap;
  4. Compile

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

Won't Fix
ComponentUE - Foundation - Core
Affects Versions4.10
CreatedDec 16, 2015
ResolvedMar 21, 2016
UpdatedJul 14, 2021