- Home /
Instantiate in different position 2017.3.0f3
Hello friends, Before upgrading to unity in November, I use the instantiate function for hundreds of techniques, items, and other things in game. But when I updated and went to test the old techniques, none worked, because the instantiate was creating objects in another position, this is given to all objects. The code worked fine before upgrading to 2017.3.0f3. What do I do?
Example code (POSITION = Player positions; POSICAOOBJ = Object position):
Kiblast newKi = Instantiate (kiblast, transform.position, transform.rotation) as Kiblast; POSITION = transform.position;
POSICAOOBJ = newKi.transform.position;
And these were the vectors:
Answer by mmagas5 · Jan 27, 2018 at 03:51 PM
I noticed that the instantiated objects are all now taking the position set for the prefab. The position being set in the instantiate command seems to be ignored.
Answer by Khena_B · Feb 10, 2018 at 08:30 PM
I'm getting this as well in 2017.3.1f1, downgrading back to 2017.1, i've submitted a bug report
Your answer
Follow this Question
Related Questions
question about instantiating 2 Answers
assertion failed on expression: 'GetSystemInterested(transform, system) != enable' 1 Answer
Particle bug... wrong location. Simple code 0 Answers
Instantiating road pieces without any spacings between 2 Answers
Instantiate game object on another (and follow that other). 1 Answer