playMaker

Author Topic: issue with playmaker photon not instantiating player [SOLVED]  (Read 2254 times)

invayne

  • Full Member
  • ***
  • Posts: 105
dont know what happen but i moved my player out of my resources folder for a few mins then put it back in  now  photon wont spawn it all. an i now get this warning ive tried deleting the instantiate an putting it back in but its not working.

Failed to load texture: Assets/Plugins/PlayMaker\Editor/Watermarks/Player.png
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMakerEditor.FsmEditorUtility:LoadWatermarkTexture(String)
HutongGames.PlayMakerEditor.FsmEditorUtility:GetWatermarkTexture(Fsm)
HutongGames.PlayMakerEditor.FsmGraphView:DrawWatermark()
HutongGames.PlayMakerEditor.FsmGraphView:DrawBackground()
HutongGames.PlayMakerEditor.FsmGraphView:OnGUI(Rect)
HutongGames.PlayMakerEditor.FsmEditor:OnGUI()
HutongGames.PlayMakerEditor.FsmEditorWindow:DoGUI() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:96)
HutongGames.PlayMakerEditor.BaseEditorWindow:OnGUI()
UnityEditor.DockArea:OnGUI()

had this issue once before with exchanging the player before but this is a little much since i cant just delete the player  and add it back in. like i did to fix this kind of issue before . is there any way around this?
 
« Last Edit: April 01, 2015, 10:05:46 AM by jeanfabre »

invayne

  • Full Member
  • ***
  • Posts: 105
Re: issue with playmaker photon not instantiating player
« Reply #1 on: March 29, 2015, 12:40:19 PM »
this error and whats happening has nothing to do with each other but still get this error an would like to get rid of it if possible

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: issue with playmaker photon not instantiating player
« Reply #2 on: March 30, 2015, 02:24:51 AM »
Hi,

 So it's not related to Photon right?

I think you may not reference the prefab properly, that's all, if you swap prefabs, your actions will loose reference, are you sure you are pointing to the right prefab when you hit these errors?

 Bye,

 Jean

invayne

  • Full Member
  • ***
  • Posts: 105
Re: issue with playmaker photon not instantiating player
« Reply #3 on: March 31, 2015, 09:11:01 AM »
this error only happens when you change out the player reference in the photon instantiate it seems to lose the prefab all together. but this time the cause was a script i wrote which was causing the error . which was causing the player to not spawn.. after setting a wait to enable the script it finally spawned correctly.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: issue with playmaker photon not instantiating player
« Reply #4 on: April 01, 2015, 10:05:33 AM »
Hi,

 good!

 Jean