modesttree / Projeny

A project and package manager for Unity
MIT License
691 stars 87 forks source link

Android Assets #62

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi,

I am working on a project for GearVR and have the following error: "Projeny validation failed.

There are directories in your project that were not created by Projeny. This could cause data loss. All user data in Projeny should reside in the UnityPackages directory. See documentation for details.

The directories in question are the following:

Assets/Plugins\Android\assets"

After studying the Projeny source code I think you expect to be only dir links inside the Android directory but I have a dir called "assets" in there. In my case, I have a Package called Android because for GearVR I need some special signature files exactly in directory Plugins/Android/assets Is there a way to tell Projeny to put a file in this directory itself?

svermeulen commented 7 years ago

Is assets a special directory in Unity or does GearVR just require that files be at that exact path? If it's the former, then it's a change we can make to Projeny. If it's the latter, then there isn't much we can do about that, if GearVR is written in a way that's just not compatible.

ghost commented 7 years ago

It's the latter. I now compiled a version of projeny with the dir check disabled. Maybe create a new package type "AndroidRaw" that disables the android dir check altogether?

kind regards, andi

-- di andreas braumann web http://brew.at skype brewman_andi fon +43 660 7355566 <+43%20660%207355566>

Am 24.06.2017 02:22 schrieb "Steve Vermeulen" notifications@github.com:

Is assets a special directory in Unity or does GearVR just require that files be at that exact path? If it's the former, then it's a change we can make to Projeny. If it's the latter, then there isn't much we can do about that, if GearVR is written in a way that's just not compatible.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/modesttree/Projeny/issues/62#issuecomment-310800418, or mute the thread https://github.com/notifications/unsubscribe-auth/AVecnd9RVTPp-YYfHxutUjpfZdy7zFOuks5sHFbHgaJpZM4N_prb .

michael-jennings commented 6 years ago

If anyone wants a quick-ish solution, you can use my fork for Gear VR compatibility.

At the top of README.md I included more detailed instructions for installing Python, which you'll need since I don't know how to set up release builds like the original branch has, yet. (It's no big deal, don't be skeered). I had a lot of stumbles trying to follow the install instructions given in the original README.md, so I wrote down every single step for my fellow python dummies.

I will try to keep this fork up to date.