I have a hang problem with my projects garbage collection.
About 0.25 of a second every 60 seconds like clock work.
Ive read around, and some of the normal issues don’t seem to be the case here.
Or Im not understanding them/forgetting something important.
Ive checked and all of my class’ non-value based variables use the UPROPERTY() flag.
Ive tested by stripping down and removing all the weapons ect so its only down to a few actors in play.
None of which are actually destroyed during testing.
Ive even tried using ForceGarbageCollection(true) in the hopes that making it more frequent would lessen the impact.
Just ended up with a 0.25 second hang every 3 seconds instead.
Is this the kind of thing where if even just one thing isn’t set right its going to hang, or will the hang increased based on the number of things that aren’t right?
I honestly don’t know what is wrong here, and any help would be much appreciated.