playMaker

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 - jess84

Pages: [1] 2 3 ... 35
1
PlayMaker Help / Re: Basic networking advice[SOLVED]
« on: June 06, 2020, 08:17:43 AM »
Does anyone know what happens if you try and join a photon server if it's already at the CCU limit? Is there a response when attempting to connect to photon?

I'm guessing I somehow need to count users across all rooms myself and handle it myself rather than rely on photon telling me the server is full?

2
PlayMaker Help / UI Input Field focus?
« on: June 05, 2020, 01:14:08 PM »
Hi,

I'd like to tab between the input fields I have on a form (as clicking is just not great in Unity). I have no problem with the get-key part, but there doesn't seem to be a way of focusing the cursor on a specific Input Field?

3
PlayMaker Help / Re: Basic networking advice
« on: May 24, 2020, 02:05:27 PM »
Hi jess.

Are you using Photon Classic or Photon 2?

I'm guessing Classic because the "Photon View RPC Broadcast Fsm Event With Data" action isn't included in the PUN2 package.

When using "Photon View RPC Broadcast Fsm Event" you can just receive the string on the other end with a normal "Get Event Info" or "Get Event String Data" action.

Hi.

Yep, I'm using Classic.

Oh - that's an excellent tip! I don't know why I assumed I had to use a RPC event to receive the data, but your suggestion of using a regular event get is working like a charm.  Thank you!!

4
PlayMaker Help / Re: Basic networking advice
« on: May 24, 2020, 10:23:49 AM »
Hi.
Not finding scrip can be because the class name is not the same as the script name.
but it only affects finding the script.

Addressing this part;  The action was from the EcoSystem, but I've just deleted them and imported them from https://hutonggames.fogbugz.com/default.asp?W928 - and immediately I have the same problem.  I haven't touched the namings at all, so it's a bug in the source.

5
PlayMaker Help / Re: Basic networking advice
« on: May 24, 2020, 10:01:31 AM »
OK, thanks djaydino.

How am i supposed to get data over an RPC?

Using 'Photon View RPC Broadcast Fsm Event' and adding a string = I can see it on the console as being included in the RPC call.  However using 'Photon View Get RPC Event Data' on the other end doesn't grab the string. (I get an error instead).

'Photon View RPC Broadcast Fsm Event With Data' with a string doesn't work. It doesn't even fire from the host - nothing in the console.

So what are my options for being able to transmit some data?

Honestly this is just becoming farcical now. I'm trying workaround after workaround.  Broadcase Event with Data SHOULD work.   Can anyone confirm it does still work for them?

6
PlayMaker Help / Re: Basic networking advice
« on: May 23, 2020, 09:04:18 PM »
Hmm, could this be the reason for my RPC with Data not working -

When I right click on the action in the action browser, and choose Find Script - it tells me it can't be found. I can see the script in the folder, and it looks fine when it's added to my fsm. If I choose File Script on any of the other photon actions, unity highlights them without any issue.

I've tried deleting the script from the folder, and pasting it back in, but that doesn't resolve the problem.

It's pretty frustrating not being able to send data with my RPC 😔

7
PlayMaker Help / Re: Basic networking advice
« on: May 22, 2020, 01:27:39 PM »
Does 'Photon View RPC Broadcast Fsm Event With Data' action no longer work?

I'm triggering it, but it's not firing - nothing in the console.  Whereas if I'm using 'Photon View RPC Broadcast Fsm Event' instead, with the same event etc, it's fine! Showing in the console, and is being received by other players.


8
PlayMaker Help / Re: Basic networking advice
« on: May 22, 2020, 09:12:03 AM »
Thanks for the quick response Jean!

1) Cool, I'll just stick with PUN

2) Will try and manually set region and retest. Thanks.

3) I'm using 'Photon View RPC Broadcast Fsm Event' on a button click.  When I run in editor, I can see it firing in the console.  However when I run it in windows standalone, and I'm running a client in the editor, I don't see anything in the console.  I'll make sure it's not #2 causing the issue.

I've just noticed this though, when trying to resolve the region issue and testing everything from scratch...

See screenshot.

The transition for On Connected To Master isn't being triggered - but you can see in the console, it has actually been fired/received.  Any ideas?

Edit: Ignore that last bit. the event 'Connected to Master' works.  Not really sure of the difference between 'Connected to Master' and 'On Connected to Master', but hey, I've got one that works :)

9
PlayMaker Help / Basic networking advice[SOLVED]
« on: May 21, 2020, 12:06:59 PM »
So I've picked up Unity for the first time in about 5 years (thanks to the lockdown), and I'm working on a multiplayer board game.  Desktop app as the board view, control the cards etc. + mobile app for each player to have their cards, submit their turns etc.

I was previously using Photon PUN a few years ago (I paid for the premium package), so have tried to integrate it into this new project but ran into a few issues that I'm not sure is my error or down to Photon maybe not being the most appropriate nowadays.

I guess question 1;  as I don't need to sync a scene or gameobjects, purely just sending/receiving RPC calls - is Photon the best approach?  Is there any other package that could handle this and be more lightweight? Is there native Unity networking and PM actions nowadays.


question 2; I have my scenes set up, and I can connect to photon fine with both the host and a player - and it shows that they're both in a Room called TEST independently - but when I try and list the players in the room, each app is only showing itself as present.  Any ideas?

question 3;  for simply recieving an RPC call, do I need to have any specific components on that gameobject holding the FSM I'm trying to reach? I'm firing an event from one player, and the other isn't receiving it, despite both showing as in the same room.  (I do have the Playmaker Photon Proxy in all scenes)


Any pointers would be gratefully received!!


10
Share New Actions / Re: A* pathfinding (stable 0v841)
« on: August 29, 2016, 10:17:40 AM »
Cool, thanks.

I'll have a play around with it, see if I can get what I need from Get/Set properties.

Shame such a cool 3rd party pack hasn't gone for full/official PM support :/

11
Share New Actions / Re: A* pathfinding (stable 0v841)
« on: August 14, 2016, 07:22:16 AM »
Are these actions going to be updated?

I just bought the pro version without realise playmaker support for it was dead  :'(

12
PlayMaker Help / Re: Prefab and Scene Object Issue
« on: January 09, 2016, 05:53:25 PM »
Argh. I'm not going to submit all of these errors.

There's 52 of them. I started copy/pasting them invididually, manually into the 'submit a bug' form for Playmaker, got through the first ten then reach the character limit!! (which then leads to more errors in the console "String too long for TextMeshGenerator. Cutting off characters.
UnityEngine.GUIUtility:EndGUI(Int32)"

I give up.

This is what I got from the console before giving up. Sorry I won't be submitting them as bugs, I really don't have time.

Code: [Select]
get_actions: Fsm not initialized: Null
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.FsmState:get_Actions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:548)
HutongGames.PlayMaker.Fsm:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1128)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1118)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:216)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

get_fsm: Fsm not initialized: Animate Onscreen
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.FsmState:get_Fsm() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:483)
HutongGames.PlayMaker.ActionData:CreateAction(FsmState, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:775)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:741)
HutongGames.PlayMaker.FsmState:get_Actions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:555)
HutongGames.PlayMaker.Fsm:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1128)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1118)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:216)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()


state.Fsm == null
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(FsmState, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:783)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:741)
HutongGames.PlayMaker.FsmState:get_Actions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:555)
HutongGames.PlayMaker.Fsm:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1128)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1118)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:216)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Error Loading Action: Animate Onscreen : HutongGames.PlayMaker.Actions.HOTweenVector3 : start
System.NullReferenceException: Object reference not set to an instance of an object
  at HutongGames.PlayMaker.ActionData.GetFsmVector3 (Int32 paramIndex) [0x0000d] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1553
  at HutongGames.PlayMaker.ActionData.LoadActionField (System.Object obj, System.Reflection.FieldInfo field, Int32 paramIndex) [0x00143] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:988
  at HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.FsmState state, Int32 actionIndex) [0x00207] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:903
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(FsmState, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:908)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:741)
HutongGames.PlayMaker.FsmState:get_Actions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:555)
HutongGames.PlayMaker.Fsm:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1128)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1118)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:216)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Error Loading Action: Animate Onscreen : HutongGames.PlayMaker.Actions.HOTweenVector3 : end
System.NullReferenceException: Object reference not set to an instance of an object
  at HutongGames.PlayMaker.ActionData.GetFsmVector3 (Int32 paramIndex) [0x0000d] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1553
  at HutongGames.PlayMaker.ActionData.LoadActionField (System.Object obj, System.Reflection.FieldInfo field, Int32 paramIndex) [0x00143] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:988
  at HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.FsmState state, Int32 actionIndex) [0x00207] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:903
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(FsmState, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:908)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:741)
HutongGames.PlayMaker.FsmState:get_Actions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:555)
HutongGames.PlayMaker.Fsm:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1128)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1118)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:216)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Error Loading Action: Animate Onscreen : HutongGames.PlayMaker.Actions.HOTweenVector3 : result
System.NullReferenceException: Object reference not set to an instance of an object
  at HutongGames.PlayMaker.ActionData.GetFsmVector3 (Int32 paramIndex) [0x0000d] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1553
  at HutongGames.PlayMaker.ActionData.LoadActionField (System.Object obj, System.Reflection.FieldInfo field, Int32 paramIndex) [0x00143] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:988
  at HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.FsmState state, Int32 actionIndex) [0x00207] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:903
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(FsmState, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:908)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:741)
HutongGames.PlayMaker.FsmState:get_Actions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:555)
HutongGames.PlayMaker.Fsm:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1128)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1118)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:216)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()


Error Loading Action: Animate Onscreen : HutongGames.PlayMaker.Actions.HOTweenVector3 : duration
System.NullReferenceException: Object reference not set to an instance of an object
  at HutongGames.PlayMaker.ActionData.GetFsmFloat (Int32 paramIndex) [0x0000d] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1483
  at HutongGames.PlayMaker.ActionData.LoadActionField (System.Object obj, System.Reflection.FieldInfo field, Int32 paramIndex) [0x000c7] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:972
  at HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.FsmState state, Int32 actionIndex) [0x00207] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:903
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(FsmState, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:908)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:741)
HutongGames.PlayMaker.FsmState:get_Actions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:555)
HutongGames.PlayMaker.Fsm:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1128)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1118)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:216)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()


Error Loading Action: Animate Onscreen : HutongGames.PlayMaker.Actions.HOTweenVector3 : SpeedBased
System.NullReferenceException: Object reference not set to an instance of an object
  at HutongGames.PlayMaker.ActionData.GetFsmBool (Int32 paramIndex) [0x0000d] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1519
  at HutongGames.PlayMaker.ActionData.LoadActionField (System.Object obj, System.Reflection.FieldInfo field, Int32 paramIndex) [0x00105] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:980
  at HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.FsmState state, Int32 actionIndex) [0x00207] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:903
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(FsmState, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:908)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:741)
HutongGames.PlayMaker.FsmState:get_Actions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:555)
HutongGames.PlayMaker.Fsm:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1128)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1118)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:216)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()


Field (System.Object obj, System.Reflection.FieldInfo field, Int32 paramIndex) [0x000e6] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:976
  at HutongGames.PlayMaker.ActionData.CreateAction (HutongGames.PlayMaker.FsmState state, Int32 actionIndex) [0x00207] in c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:903
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(FsmState, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:908)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:741)
HutongGames.PlayMaker.FsmState:get_Actions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:555)
HutongGames.PlayMaker.Fsm:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1128)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1118)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:216)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()



state.Fsm == null
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.ActionData:CreateAction(FsmState, Int32) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:783)
HutongGames.PlayMaker.ActionData:LoadActions(FsmState) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/ActionData.cs:741)
HutongGames.PlayMaker.FsmState:get_Actions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:555)
HutongGames.PlayMaker.Fsm:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1128)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1118)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:216)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

13
PlayMaker Help / Re: Prefab and Scene Object Issue
« on: January 09, 2016, 05:43:38 PM »
5.3.1

And yes, they were gameobjects that I spawn - they are not in the scene by default, hence wanting to store them as global gameobject variables.

Again, 5 identical states for 5 gameobjects, done in exactly the same one - error was reported on one only.  It didn't occur straight away when creating that FSM, it happened a lot later and without me actually changing anything to do with it.

14
PlayMaker Help / Re: Prefab and Scene Object Issue
« on: January 09, 2016, 08:00:39 AM »
Is there a way of exporting errors from the console log? Or do I have to copy/paste them individually?

They're mainly things like;

Code: [Select]
get_actions: Fsm not initialized: Null
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.FsmState:get_Actions() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:548)
HutongGames.PlayMaker.Fsm:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1128)
HutongGames.PlayMaker.Fsm:Preprocess(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1118)
PlayMakerFSM:Preprocess() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:216)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks:OnPostprocessScene() (at Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

And are all generated when making a build. (if I clear on Unity start-up, they only reappear when I create a new build). It doesn't seem to be affecting my build in any way though.

15
PlayMaker Help / Re: Prefab and Scene Object Issue
« on: January 09, 2016, 07:51:59 AM »
The error box is new in 1.8, trying to pre-emptively warn you about scene references that will be lost when you close the project.

Globals are project assets (like prefabs) so cannot save references to scene objects; the reference will be lost next time you open the project. So you need to find the scene object at runtime and store it in the global variable.

If you're seeing a case where the error is shown where it shouldn't be, please double check that the global doesn't contain a reference to a scene object at edit time. If it doesn't and you're still getting the warning, let me know.

I'll double check here also that the error is only shown when it should be...

Nope, it was definitely referencing a global variable. I had 5 states doing exactly the same thing, but referencing different global variables. Only one of which was causing an error.

I deleted the global variable and created it again, and that has gotten rid of the error. I'll add a bug report should it reoccur.

I'll also look at logging the errors on 5.3/1.8 beta over the weekend.

Pages: [1] 2 3 ... 35