Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Yagolov

Pages: [1]
PlayMaker Help / PUN 2 - DefaultPool failed to Load
« on: March 26, 2021, 10:57:07 PM »

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!


Android Help / Array Transfer Value not working on Android Build
« on: November 10, 2020, 06:18:49 AM »

I created a word game and works fine in Editor and Unity Remote but when I Build the game for testing it on my phone some parts of the game was not working.

After reading different posts about similar problems, I tried Wizard linker (doing all the steps from the FSM) and a couple of other solutions that didnt work out.

I decided to recreate that FSM in a brand new project with only PlayMaker and the ecosystem installed on it... and the problem persist!! I dont know what else to do.

In the new project and FSM I did the next:
Created 2 Arrays of String:
1- H,O,L,A
2- A,B,C,D

and then I used the Array Transfer Value (0 first, 1 after, 2 after etc) to replace H for A, O for B L for C and A for D.
Each state has a wait 1 second and go to the next, replacing the letters using the appropiate index and then going to the next.

I tried to reduce as max the complexity of the FSM and at the end I am only using
- Array Transfer Value
- String Join
- UISet Text
- Wait

The FSM works well on PC and unity remote but still not in Build.
I am using Unity 2019.4.14f1
and PlayMaker 1.9.0.p21

In the Console I have 1 Warning:
Game scripts or other custom code contains OnMouse_ event handlers. Presence of such handlers might impact performance on handheld devices.

Which I am surprised because the project doesnt have any action OnMouse, only the mentioned above.. I have read on different posts on Unity forum that this Warning could be ignored and that shouldnt be affecting the project...

I would be immensely grateful if someone could help me with this...

Thank you in advance!

PlayMaker Help / Advice about Send Event (Broadcast All)
« on: August 10, 2020, 12:22:14 PM »

I have created a game for mobile which almost 90% of the game it is UI related.
Already have a prototype of the game which works and now I am ready to start making it from scratch again and start working with the real visuals and clean up my FSMs and variables etc.

I tried to keep the FSMs short and concise (using the advice of making it like "parts of human body". Because of this, I am using LOTS of interactions between FSMs.

My question is;
When I use Send Event by Name, I can drag and name the FSMs that I want to target, but I really prefer to use Broadcast All (since this doesnt create any conflict).
Broadcasting All, it is a "bad practice"?
I mean, does it requires more "power" to do so and I should specify the FSM?

Maybe this seems a bit of a dumb question, but since I am about to start the definitive version of the game, I would like to make it as efficient as possible.

Would be awesome if you could advice me!
Thank you in advance!


PlayMaker Help / Object VS GameObject
« on: July 15, 2020, 06:36:27 AM »

I am trying to figure it out the actual difference between a variable GameObject and a variable Object, probably this have a easy answer but even I did some research I still do not really have clear the differences.

I am pretty new and I never used variables of type Object before, but now I am using a Plugin where I need to store some Markers as a Objects and everything is OK things works but I still dont really know the difference between those 2.

I would really appreciate if you could tell me the main difference and any practical example of where/why I should use one instead of the other one.

Thank you a lot in advance!

Best regards,

Pages: [1]