Need some help referencing subfolders from assets.digest

Hey all,

So this has been doing my head in. I’m following the directions in Exposing Assets in UEFN to Verse | Unreal Editor for Fortnite Documentation | Epic Developer Community
to a T.

But if I try to declare a subfolder that has materials and textures like in those directions, that has a directory structure of /[root]Content/ANewFolder/Card_Backs2/ using the code mentioned in that doc/the forums,

ANewFolder:= module:
Card_Backs2<public >:= module {}

I can’t get past the errors:

“The module (/redacted/redacted/TGB_Verse:)ANewFolder in package ProjectName is ambiguous with this definition:
module (/redacted/ProjectName:)ANewFolder in package ProjectName/Assets”,

Any ideas? Thanks in advance.

Have you found the answer to this problem?

Hello! a solution for this is going to the top folder of your project that has your project name. In there you should declare a verse file that has all the modules declaration.
For example:
If your texture is in:
{ProjectName}/Textures/Icons/T_MyIcon.uasset
you would need to declare:

Textures<public>:=module:
        Icons<public>:=module:

That would give you access to use at the top of your scripts:

using { ProjectName.Textures.Icons }
# T_MyIcon can be used now