Procedural mesh register component takes too much time

Is something like that even possible? UE has something about rendering needing to happen on the main thread only.

The code I’m working with is not straightforward at all. Otherwise, I’d have tried making the change before posting.