Question, to use this functionality, do I need to call the function created (that calculate the used UObject in scene) any where in my project (i.e. call the function from any class that uses UObject), or no need to do that?
The reason im asking is that I don’t see any warnings in logs/screen (even if I switch off the order of < or > 90 percent.
Yes, you do need to call this. It doesn’t have to be from a class that uses UObject as long as to pass in a world object reference and make it static. There’s a meta specifier to make it clean.
Since it iterates through every single UObject, it might be best to do it only occasionally. The difference between 90% and 100% is absolutely massive, so it’s likely you could just do it whenever loading a save.