Why am I losing files when packaging? (4.15)
I recently upgraded to 4.15.
My game runs fine in editor. There's a specific asset (I'll call it switch). Several levels reference it. Migrating the level exports it (it's in the reference list). When I package a build, it's missing completely in the .pak file. What is the right way to figure out why this is?
Thank you for providing as much information as you did. After seeing the name "Switch" I went out on a limb and it ended up being fruitful. The reason this isn't being included is because of your folder named "Switch". Along with PS4 and XboxOne, this is a special folder name according to the editor due to console packages. Anything in this folder will be excluded from packages that are not for that platform. I'm going to enter a bug report for it, but I don't expect the functionality to be changed. The more likely solution is to add a warning or error message when either packaging or creating a folder with this name to warn about this.
In short; You'll need to rename that folder and then everything should work fine.
answered Feb 23 '17 at 05:19 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here