I’ve got a long running service in a module that I only want to start/stop while playing rather than while in the editor. It currently inherits FTickableGameObject and IsTickableInEditor is true but that doesn’t always work, and doesn’t provide a definitive begin/end.
Can you use a constructor and destructor?
Not really, that just shifts the problem to somewhere else. Right now i’m instantiating in the modules Startup method.
not knowing what your service should do but have you considered using the Init of the GameInstance?
Does your class really needs to be ticked every frame? or does it rather respond to events?