Some things such as TSets and TMaps aren’t supported by UPROPERTY. I’ve read that I had to implement static void AddReferencedObjects(UObject *InThis, FReferenceCollector &Collector);
, which I did, but looking at some uses of it in UE4’s github, as well as documentation, I’m not real clear on the difference of FReferenceCollector::AddReferencedObject and FReferenceCollector::AddReferencedObjects.
Additionally, I was wondering if I have to call the reimplemented function at some point in my code or if the UObject ancestor class handles it automatically? I also have an enum with bitfields beyond value 255 and since I can’t use it as a UPROPERTY either, do I need to have that ref collected as well, or are value types not collected?