Skip to content

bug: can't load old unity builtin template #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JiuHaoCunMin opened this issue Jun 5, 2025 · 2 comments
Closed

bug: can't load old unity builtin template #197

JiuHaoCunMin opened this issue Jun 5, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@JiuHaoCunMin
Copy link

Image

Image

com.unity.template.2d.zip

@unitycoder unitycoder added the bug Something isn't working label Jun 5, 2025
@unitycoder
Copy link
Owner

unitycoder commented Jun 6, 2025

Ok, confirmed with 2018.4, ill check.

Oh i see.. in this older version the template files are not zipped packages, like in other versions
current system scans for *.tgz templates:
https://github.com/unitycoder/UnityLauncherPro/blob/master/UnityLauncherPro/Tools.cs#L1839

  • for 2018.4, scan for folders instead of *.tgz files
  • copy template folder, instead of unpacking, currently "TarLib.Tar.ExtractTarGz(templateZipPath, newPath);"

@unitycoder
Copy link
Owner

seems to work now, i'll make build later.

this actually allows using template folders in any unity version now!

create/copy your project template into:
...\6000_2\Editor\Data\Resources\PackageManager\ProjectTemplates\your_template_folder
and if that folder contains Assets\ folder, then it can be used as a template folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants