aws / lumberyard

Amazon Lumberyard is a free AAA game engine deeply integrated with AWS and Twitch – with full source.
Other
2.04k stars 540 forks source link

Asset Bundler duplicated content in different paks #468

Open theblooopz opened 4 years ago

theblooopz commented 4 years ago

Asset Bundler requires “level.pak” in the seed in order to know what to chunk in the main pak file. But the level.pak also gets chunked. But Lumberyard doesn’t use that. Lumberyard uses the “level.pak” which is generated in the “auxiliary” level.pak chunked at levels/levelName/level.pak

So I’m at a situation where level.pak is stored twice. Once in the pak generated by asset bundler and once in the pak copied over. Lumberyard seems to want to use the level.pak which is in levels/levelName/level.pak

Additionally, sound doesn’t get bundled because it doesn’t throw init.bnk in the pak but it does throw in content.bnk. I had to add init.bnk to the seed manually in order to get sound to work.

theblooopz commented 4 years ago

Also, there's actually a lot more content which is duplicated. The engine pak generated from the defaultseedlist contains a lot of content which is duplicated in the content generated from seeding the "level.pak"

AMZN-alexpete commented 4 years ago

Hi @wcbx, thanks for reporting this issue. We're aware of the problem and working on a fix for it. Internal issue is LY-112517.