The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our

Please check if you can find an answer in our extensive documentation on Fusion.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

Network Object Pool question

2022-08-26 09:11:12

I called the Runner.despawn method and did not destroy the object, did I use the object pool? Is there any difference with this Network Object Pool?


2022-08-26 14:50:14

Hi, not sure if i understood, could you please explain more your problem?

Isaac Augusto

Photon Fusion Team

2022-08-28 03:53:40

That is, I created a bullet. After calling the despawn method, it will be directly hidden under the NetworkRunner node instead of being destroyed. I guess whether the object pool technology is used. So is it the same as the INetworkPool function?

2022-08-29 11:35:39

I'm sorry, i still don't quite understood.

If you're using a NetworkObjectPool , the ReleaseInstance behaviour of the INetworkObjectPool will be called when you despawn that object. If your Object Pool disables it and set the runner as the parent, then that's expected behaviour.

Isaac Augusto

Photon Fusion Team

2022-09-07 13:18:02

This question is an exploratory question, just raised for discussion. My other question is very serious, I have asked it many times and no one has answered it.

In the official example Fusion-Tanknarok, if I move a tank to ram another tank, the tank jumps up, the tank's movement component uses the NetworkCharacterControllerPrototype. Because our game has a jumping feature, this issue seriously affects the gameplay. More detailed description below:

Back to top