playMaker

Recent Posts

Pages: 1 ... 8 9 [10]
91
Feature Requests / Re: Request:link style
« Last post by pixelmator on November 30, 2021, 03:39:51 PM »
I really like this idea. Wonder what the devs think of this.
92
It's a bug, i believe i reported it a long time ago. But i'm having it even worse, the global variable is lost during gameplay (for example, MainCamera) i'm not even switching scenes.

I'm usually forced to use some globals since it would be gruesome to use locals for everything, i use an FSM on all global game objects that have get owner and loops into itself every second  ::)
93
PlayMaker Help / Re: Follow Mouse - Separate Camera
« Last post by djaydino on November 30, 2021, 01:37:39 PM »
Hi.
Sorry, this one should fix the issue (see attachment below)
94
PlayMaker Help / Re: Follow Mouse - Separate Camera
« Last post by Andorix on November 30, 2021, 12:45:47 PM »
Hey djaydino thanks! Unfortunately it isn't working atm...

- Getting error message: "No Camera or MainCamera defined!" and then the scene self-pauses.
- It doesn't matter if I select Main Camera or overlay camera (MouseCam), both give the same error. I tried changing the MouseCam tag to something else than "MainCamera", still won't work.
- Original "Follow Mouse" action still works when enabled (defaults to Main Camera like before).

I attached a screen shot to illustrate the problem.
95
PlayMaker Help / Re: [Global Variables] Losing global gameobject variable reference
« Last post by xalbertus on November 30, 2021, 10:17:43 AM »
Hi.
Have you also set a 'Singleton Manager' Reference (Ecosystem)

on the object that you are not destroying

We are not using Playmaker to create the Singletons, we use our own scripts. Is that what you mean?

BTW our player is not / doesn't have a Singleton.
96
PlayMaker Help / Re: Follow Mouse - How to change the camera?
« Last post by djaydino on November 30, 2021, 10:12:58 AM »
Hi.
you can always 'Bump' you post instead of making new posts, i have answered on your other post.
97
PlayMaker Help / Re: Follow Mouse - Separate Camera
« Last post by djaydino on November 30, 2021, 10:12:40 AM »
Hi.
I have updated the 'Follow Mouse' so you can set a camera as target see attachment below (renamed it to Follow Mouse 2 to avoid conflicts)

Edit : removed the package sind it had errors)
98
PlayMaker Help / Re: [Global Variables] Losing global gameobject variable reference
« Last post by djaydino on November 30, 2021, 10:11:23 AM »
Hi.
Have you also set a 'Singleton Manager' Reference (Ecosystem)

on the object that you are not destroying
99
PlayMaker Help / Re: [Global Variables] Losing global gameobject variable reference
« Last post by xalbertus on November 30, 2021, 10:05:38 AM »
Hi.
So far i have not seen this issue yet, what you can try is set a fsm on the player and use a Game Object Is Null and when null do a Debug Log and set it to error (this will pause the game if Error  Pause is enabled on the console.
This way you can narrow down on when it happens (just to rule out any issue in the fsms that it gets accidentally removed)


if this triggers and you still can't find you could use it as a fail save to place it back to the global (so if null, place back player to global)

So far it only happened when going from scene B to A?

Hey, thanks for the response.

The issue looks like the one in this post:
https://hutonggames.com/playmakerforum/index.php?topic=13276.0

It's the same result but it's not the same problem in our opinion because we don't have the player or the gamemanager in our scenes, we instantiate them at first and don't destroy them when changing scenes. Our game flow is:
1.- We create Player that sets the global variable Player at the Start state.
2.- We go to another scene. The player remains with DontDestroyOnLoad and Start state is not being called
3.- The global variable is still there
4.- We go back to the previous scene. The player remains with DontDestroyOnLoad and Start state is not being called
5.- When the old scene is unloaded the global variable is now set to None (or Missing).

The global reference is lost whenever we go from one scene to another and then back to the first one, no matter which scene is A and which scene is B. It occurs with all of our game scenes.

We know exactly when the reference is lost, we just don't know why. Is it possible that the global variables are reset after a while or something like that?
100
PlayMaker Help / Re: [Global Variables] Losing global gameobject variable reference
« Last post by djaydino on November 30, 2021, 09:48:44 AM »
Hi.
So far i have not seen this issue yet, what you can try is set a fsm on the player and use a Game Object Is Null and when null do a Debug Log and set it to error (this will pause the game if Error  Pause is enabled on the console.
This way you can narrow down on when it happens (just to rule out any issue in the fsms that it gets accidentally removed)


if this triggers and you still can't find you could use it as a fail save to place it back to the global (so if null, place back player to global)

So far it only happened when going from scene B to A?
Pages: 1 ... 8 9 [10]