- Home /
How To Refresh Resources Folder in Build?
strong text
hi, in my game I import audio clips (.wav files) in Resources folder. import is working fine but somehow you have to minimize and maximize unity editor and only that time audio clip appears in folder. I used assetdatabase.Refresh(); and it worked in editor but that doesn't work in build. So now I want to refresh Resources folder in build and can you tell me how? Thanks
Answer by ZNJase · Mar 11 at 09:19 PM
Hey there!. Im not sure at all, but, have you tried to use Resources.LoadAll after the Refresh()? Time ago I had a problem like that and it was solved by it.
hey, thanks for the answer. I tried that but it doesn't work. problem is wav. file doesn't show up in folder until I minimize and maximize unity editor. when I tried refresh it worked but it works only in editor, not in build.