playMaker

Author Topic: build version spawns extra copy of prefab  (Read 1193 times)

drakwon

  • Playmaker Newbie
  • *
  • Posts: 34
build version spawns extra copy of prefab
« on: April 26, 2016, 12:30:36 PM »
hi, when i play the game on unity everything is fine and there is no extra copy of the player, but when i build it does, I dont have two instanciates running so im not sure why its doing this

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: build version spawns extra copy of prefab
« Reply #1 on: April 28, 2016, 04:48:29 AM »
Hi,

 It seems that the logic is different when you publish, and that's a pain to debug...

it's NEVER reproduceable when you are playing inside unity?

When I have such case, isolate the instanciation system and try to run it with nothing else.

could it be the input itself that is trigger twice? I would debug that first, have a coutner that show on the UI and you'll increment that everytime, then you'll know if the problem is your input system or else it's further down into the logic.

Bye,

 Jean