Resources folder missing [Solved]

Hello, I’m using Unity 5.4.2f2 and I can’t seem to find the resources folder anywhere, nor do I find any information online as to where it is or how to create it.

Every source of information I find online only talk about how to use it and assume it already exists, and when I manually create a folder and name it “Resources” I can’t seem to load anything from it with a relative path such as:

Instantiate(Resources.Load<GameObject>("Prefabs/Structures/RTS_Miner"));

Here’s a picture of my Assets folder (Prior to creating a Resources folder and dragging the “Prefabs” folder I created into it.):

Could anybody tell me how to create it or find it, please?
Thank you!

You create the resources folder yourself. Check the docs: Unity - Manual: Special folder names

You can make multiple folders that Unity then merges into a single folder at build time. Placing subfolders under resource folders will allow you to load things relatively. Also, if you’re still having problems then check the release notes for the latest versions of Unity as there have been some changes to how things are handled recently.

2 Likes

Thank you! This solved my problem. Turns out that the only reason that it wouldn’t work when I created the folder was because I managed to give my prefab the wrong name…

Thank you! Your answer has been very helpful to me