PhotonNetwork.Destroy won't always work.
Options
Nonlin
✭
Sometimes it will destroy sometimes it wont' and I can't figure out why.
Here is the script that calls it.
http://hastebin.com/cosacivage.avrasm
Everything else gets called as it should. Debugs tell me it enters the if statements and reaches the PN.destroy.
http://hastebin.com/cosacivage.avrasm
Here is the script that calls it.
http://hastebin.com/cosacivage.avrasm
Everything else gets called as it should. Debugs tell me it enters the if statements and reaches the PN.destroy.
http://hastebin.com/cosacivage.avrasm
0
Comments
-
You destroy something referenced with gameObject variables. Are you sure that gameObject points to the object you want to destroy?0