- Home /
Create multiple prefabs from multiple objects in the selection of the Hierarchy (Unity 5.3.5)
I know this question has been asked several times and there are several solutions out there. Sadly not for the Unity version I am using. I'm using Unity 5.3.5 and am forced to use it in the boundaries of the project i'm working on.
I tried to fit some of the code out there to fulfill my needs, but my C# is not advanced enough to get that to work. I can do some very basic stuff, so I would really appreciate if someone can lend me a helping hand by providing a script that would work for me.
Examples that don't work for me I found here:
https://answers.unity.com/questions/1310024/i-want-to-create-individual-prefabs-based-from-hie.html
https://docs.unity.cn/2017.4/Documentation/ScriptReference/PrefabUtility.CreatePrefab.html
Thanks in advance
Answer by LOSTSOUL86 · May 24 at 06:14 PM
Hi, thats very old Unity.
I am not sure what exactly you want to do. The objects are in the scene? And you want to make prefabs out of them?
But as I can see PrefabUtility.CreatePrefab was also available in 5.3.5.
Can you share your code and what error you getting. Maybe I will be able to help.
Your answer
![](https://koobas.hobune.stream/wayback/20220613060912im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why does Everything look Stretched While using a prefab? 1 Answer
Destroying objects with the same name that are touching eachother. 1 Answer
OnTriggerEnter() not firing for mutliple objects 0 Answers
Looking for a tutorial on placing prefabs and snapping 0 Answers
how to detect an gameobject on mouse click using raycast 1 Answer