Copy assets to Resources folder before build

Hello

I’ve been copying some assets to StreamingAssets folder before build using RegisterBuildPlayerHandler or IPreprocessWithReport (both methods worked well) but when I try to do the same with the Resources folder, the assets are not added to the build.

Is there any way of doing it?

Thank you

Maybe you need to refresh the asset Database after moving the files to make sure unity knows about the files before building.

That was the problem. Thank you