Hm, I guess I could try to make it an actor instead.
EDIT: I tried that, but then when I play the game, it triggers a breakpoint at void CastLogError(const TCHAR* FromType, const TCHAR* ToType) { UE_LOG(LogCasts, Fatal, TEXT("Cast of %s to %s failed"), FromType, ToType); }
. I used Visual Assist X to rename, so it’s not because I forgot something (I made my UItemBase class inherit from AActor, and then renamed it to AItemBase).