v0.13.7
errors and warnings / manifest

errors and warnings / manifest / E4307

E4307 error

asset() path does not name an asset of the build

area
manifest (x4xxx)
fails the build
yes

An asset() path from wowlua:meta does not name an asset of the build. asset("media/icon.tga") becomes the file's in-game path, so a file missing from the output would be a missing texture in game.

A path that is not in build.assets at all is E1038 while the code is checked. This second check of the finished output finds the assets of the package that a build leaves out although its code uses them: those the profile's exclude drops ("profiles": { "release": { "exclude": ["media/debug.tga"] } }), and those build.flavor-files gives only to flavors the build does not target.

Ship the asset in that build, or do not use it there (put the call under @if(build.debug) or a flavor check). wowlua build reports it, not wowlua check, so it has no example here.

codemessage
E1038asset() path is not a package asset (or case mismatch)

Offline

terminal
$ wowlua explain E4307
E4307 (error): asset() path does not name an asset of the build

source on GitHub ↗