playMaker

Author Topic: PUN 2 - DefaultPool failed to Load  (Read 743 times)

Yagolov

  • Playmaker Newbie
  • *
  • Posts: 9
PUN 2 - DefaultPool failed to Load
« on: March 26, 2021, 10:57:07 PM »
Hello!

I am creating a multiplayer game using Photon Pun2 and playmaker.
So far I am doing pretty well, I managed to make a turn system, spawning characters etc.

However, sometimes when I start the game the Console launches this Error:

" DefaultPool failed to load "Sphere". Make sure it's in a "Resources" folder. Or use a custom IPunPrefabPool. "

The prefab is within the Resource Folder and it is instantiate with the action "Pun Instantiate". I googled for it and I found a partial solution that fixes the Issue, which is dragging the Prefab again to the instantiate Action. Right after doing it everything works perfectly as usual...

However... it is not a stable solution, since randomly (specially first time I launch the game after 1-2 days without  opening the project) gives again the error.

I can fix it doing it in 10 seconds, no problem. But I am afraid if this is only in the editor or if It could be happening randomly when the game is launched in the exported version....

Did someone found a definitive solution for this Issue?
The turn around works temporally but I would like to get rid off it for ever.

Any help would be appreciated!

Kindly,