adamgryu
adamgryu
I think I've noticed the same issue. NetworkClient.RemoveTransportHandlers() doesn't seem to be called during StopClient(), which causes duplicate OnClientConnect() calls when connecting again.
I think this is a problem with Telepathy transport - I was upgrading an old project when this error occurred. Switching to KCP seems to fix the issue.
I'd also like this feature, do I just need to import the code into my project and make the constructor public?
Just as a heads up, I tried porting this forward to work in Unity 2020.2: https://github.com/adamgryu/kDecals I also stumbled upon someone else who did the same thing. I don't know...
Sorry you're having trouble with this. I don't plan to maintain my fork of kDecals (while I got my fork working, I introduced a serious performance issue by not culling...
I'm running into this issue too. If there's a fork out there with this fix, I'd use it!