So I have a few plugins that I have made and they seem to work perfectly until the server is restarted, here is the info:
I hook OnEntityBuilt and if its my plugin's I attach my subclass which is a MonoBehavior to it by using AddComponent<>. These are things that are meant to stay in the world. The problem is that when the server is restarted, it seems like the the component isn't there anymore? It stops working.
Any ideas?
I hook OnEntityBuilt and if its my plugin's I attach my subclass which is a MonoBehavior to it by using AddComponent<>. These are things that are meant to stay in the world. The problem is that when the server is restarted, it seems like the the component isn't there anymore? It stops working.
Any ideas?