Is UDetectionInfo derived from UObject? If so you should be using NewObject() or ConstructObject() instead of new UDetectionInfo to create new instances of that type.
Is UDetectionInfo derived from UObject? If so you should be using NewObject() or ConstructObject() instead of new UDetectionInfo to create new instances of that type.