- Home /
Question by
timcommandeur · Dec 29, 2013 at 04:56 PM ·
prefabbuildfolder
Prefabs in sub-folders not loading
Hey all,
I have a problem with my prefabs if I place them in sub-folders inside the Resources folder (for example Resources/Mobs/MyMob.prefab). If I do this it will work fine inside the editor, but when I create a build and run it, it can't find the prefab.
Does anyone know if it is possible to have prefabs in subfolders inside the resource folder and have it work in a build.
Comment
Wiki
Answer by AdamAz · Mar 04, 2015 at 03:27 PM
Yes it is possible to have prefabs in sub folders inside the resource folder and have it work in a build.
Example:
Resources.LoadAll<Items>("Path/");
Your answer
![](https://koobas.hobune.stream/wayback/20220613125106im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Is it possible to create / replace prefab in builded game? 1 Answer
Retrieve Object Prefab name 1 Answer