LoadAllAssetsAtPath doesn't work

hey there

in my Projetct under

|Assets
||TerrainEditor
|||Editor
||||Texturen
|||||Texturen

is one Texture.

Object[] objsTex = AssetDatabase.LoadAllAssetsAtPath("Assets/TerrainEditor/Editor/Texturen/Texturen/");

after this code is objsTex.Length = 0

why?

it should be one or not??

I don’t think the asset loading functions work with folders. You need to give it a path to an asset file.