greggman / better-unity-webgl-template

A better default template for Unity WebGL
https://greggman.github.io/better-unity-webgl-template/
Creative Commons Zero v1.0 Universal
760 stars 136 forks source link

How to import package to 2019? #18

Open arcadeperfect opened 3 years ago

arcadeperfect commented 3 years ago

Hi this is probably a stupid question, but I can't see a way to import this to 2019.

In 2020 the package manager recognizes it, but in 2019 it doesn't recognise the zip, the contents of the zip, or the file without the zip extension as a package.

Just copying the template from the source code into assets worked when I hit build and run, but then trying to serve it from my own server (either locally or remote) didn't work.

Sorry if I'm being stupid!

greggman commented 3 years ago

Try renaming the file from

BetterUnityWebGLTemplate-v0.0.3.unitypackage.zip

to

BetterUnityWebGLTemplate-v0.0.3.unitypackage

Does that help?

arcadeperfect commented 3 years ago

Unfortunately not. Had tried that and it does load the package manager but it says the assets from the package are already in the project, even though they're not.

greggman commented 3 years ago

are you on Mac or Windows?

greggman commented 3 years ago

Try this one

BetterUnityWebGLTemplate-v0.0.3.zip

unzip it. The package should be inside

arcadeperfect commented 3 years ago

That worked thanks!