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.

Messages - 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 / Re: Array Transfer Value not working on Android Build
« on: November 13, 2020, 07:31:38 PM »

Thank you for your answers!

Yep, I isolated the FSM that was creating problems and created a brand new project with only that FSM and making a build in every step that I was adding.

The game failed on build at the moment that I added the action Array Transfer Value.
I changed to make the same actions only with ArrayMaker and now it works in the Editor, Unity remote and in build. I changed Array Transfer Value for ArrayList Get and ArrayList Set.

I just reported the probable bug using the PlayMaker Bug report system so hopefully they can fix this Issue with ArrayTransferValue action and help others who may have the same Issue.


Android Help / Re: Array Transfer Value not working on Android Build
« on: November 11, 2020, 09:41:05 AM »
Hello djaydino,

I have replicated what I achieved with the Arrays with the Array List actions from ArrayMaker and now the Fsm runs on build.

Instead of using Transfer Value for replacing 2 strings at X index, I use Get and Set from Arraymaker ( Transfer Value was perfect though, I couldnt find the same action for Arraymaker).

I dont know if I was doing something wrong and the Array Transfer Value works perfectly on built but the process of finding what was failing on build (since Editor and Unity remote works smooth) it has been painful!


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 / Re: Advice about Send Event (Broadcast All)
« on: August 10, 2020, 01:55:05 PM »
Hello Djaydino,

Since it will have lots of Fsms, I think I will just send directly to the one that I want instead of broadcasting All.

Thanks a lot!

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 / Re: Object VS GameObject
« on: July 16, 2020, 07:14:17 AM »

Thank you a lot for the explanation!
Way more clear now  :)

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,

General Discussion / Re: Welcome! Please introduce yourself!
« on: July 10, 2020, 06:02:29 AM »
Hello Community!

My name is Yago and I am a Spanish guy working as a Graphic Designer in a video game company in Tokyo.

I discovered Unity and Playmaker 1 month ago.... and I am super excited about it. I am enjoying like a kid. I just can not stop.

I want to thanks  everybody who made this possible and every single person who try to help each other in the Forum, you guys rock!

So yeah, Hello and Thanks!


Pages: [1]