- Home /
problems with ReplacePrefab script
Hey All!
I hope you are doing well. Total newbie here btw that desperately need some help with some script conflicts;
I am trying to make use of the this script (link text) that replaces a bunch of objects in the scene with a pre-selected one from your assets dialogue box.
I used the script ones to replace some lighting fixtures trying to test it out. Once the first bunch of fixtures was replaced, I tried to re-apply the script to replace the existing ones with a new model (object).
However, no matter which object I choose to replace them with, it always appears mis-oriented in the scene and immediately freezes everything and stops me from assessing the problem.
Could you please have a look and let me know (1) whether there is something wrong with the script in the first place, (2) if I personally do something wrong and (3) if there is an alternative option to pull off a similar procedure (possibly with another script?)
Looking forward to hearing from some experts out there.
Take care,
Adam.
Your answer
Follow this Question
Related Questions
Scriptable object problems 1 Answer
Stop Unity from freezing on NullReferenceExceptions ? 1 Answer
Problem with Enum and String, Beginner Problem 1 Answer
Unity VR Camera set rotation 0 Answers
Interactable trigger responding weirdly 0 Answers