I'm using photon pun. I have a spawner script which instantiates the eatables in the gameplay and right after the instantiation, im transferring its ownership to null. The instantiated game objects's photon view component's ownership transfer variable is set to takeover.
But, my instantiated game object is still getting destroyed with the master client, how do i stop this from happening? Also I don't have any
IPunOwnershipCallbacks in the instantiated game object script.