playMaker

Author Topic: "Create object" clones itself and not from prefab?  (Read 1910 times)

1982

  • Junior Playmaker
  • **
  • Posts: 71
"Create object" clones itself and not from prefab?
« on: March 19, 2014, 07:17:09 AM »
I came across very odd behavior, which I can't solve and can't understand if it is bug or feature.

In runtime I create object from prefab, then this object creates another copy of this object from the same prefab. However it clones itself, with all the changed properties and NOT the original prefab.

 :-\

*Well I sort of solved it by using specific object spawner prefab, which then creates this specific prefab. But would be still interesting to know why this happens.
« Last Edit: March 19, 2014, 07:28:12 AM by 1982 »

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: "Create object" clones itself and not from prefab?
« Reply #1 on: March 19, 2014, 08:10:53 AM »
"Get Owner" is not the same as specific object spawner prefab.