AutoCleanUpPlayerObjects doesn't delete my player on disconnect?
For some reason when I close out of my built game the player objects aren't being removed as I thought they should be... Is there a way to make sure the player objects are destroyed or is there some underlying issue here?
0
Best Answer
-
A bug was discovered in the current PUN v1.61.
I posted a fix for this here:
http://forum.photonengine.com/discussion/6665
Let me know how it works for you. Sorry for the hassle.5
Answers
-
Nevermind. I've solved it by just implementing my own Cleanup service in my network manager. I just added a method that's called per update to check that all the photonviews have players in them. if they don't, delete them. It's working fine now. Just a little odd.0
-
A bug was discovered in the current PUN v1.61.
I posted a fix for this here:
http://forum.photonengine.com/discussion/6665
Let me know how it works for you. Sorry for the hassle.5