Skip to content
Permalink
Browse files

[Assets] New Game template was not properly copying asset package files

  • Loading branch information
xen2 committed Dec 22, 2018
1 parent a8f09bc commit 7c9e3a3969074bc9aa0e91c7c464464e8e53122f
@@ -405,7 +405,7 @@ private static void CopyAssetPacks(SessionTemplateGeneratorParameters parameters
{
var logger = parameters.Logger;

var presentationPackageFile = PackageStore.Instance.GetPackageFileName("Xenko.Assets.Presentation", new PackageVersionRange(new PackageVersion(XenkoVersion.NuGetVersion)));
var presentationPackageFile = PackageStore.Instance.GetPackageFileName("Xenko.Samples.Templates", new PackageVersionRange(new PackageVersion(XenkoVersion.NuGetVersionSuffix != string.Empty ? "3.1.0.1-beta01" : "3.1.0.1")));
var assetPackagesDir = UDirectory.Combine(presentationPackageFile.GetFullDirectory(), @"Templates\Samples\Templates\Packs");
var assetPacks = parameters.TryGetTag(AssetsKey);
if (assetPacks == null)

0 comments on commit 7c9e3a3

Please sign in to comment.
You can’t perform that action at this time.