Question regarding github and asset store

Hi All,

I have a quick question regarding asset store assets and github. So I currently know that any propriety assets procured on the asset store can’t be put into a public github repo, but what about code you wrote that references the said asset. Is it possible for me to include those scripts without the propriety assets that I downloaded from the asset store in a public github repo? I will provide two examples and would like to see if they’re within legal boundaries.

Example 1: I bought Photon PUN 2 on the asset store and I made a script utilizing it where it’s “using Photon.Pun”. Can i upload that script onto a public github repo as long as I include the Photon PUN 2 assets in a .gitignore?

Example 2: I downloaded Oculus’s OVR and i dragged the respective needed prefabs/scripts into my scene. I then commit the scene and the meta files that were generated by the OVR assets to a public github repo while making sure that the initial OVR assets themselves are in the gitignore. Is this fine?

Also, just covering my bases, is safe to put prefabs, metas and scenes inside a public repo as long as they were purely made by me? It seems like it as long as you made 'em, but i’m just double checking.

The API for any assets can generally be found in the documentation, which is normally available online for free. So its highly unlikely to cause any trouble referencing the public API on a public repo.

2 Likes

Yes, your own scripts, prefabs, metas, and scenes are fine to put in a public repo. Just double-check your .gitignore and the repo to make sure you didn’t accidentally include any files from the assets themselves.

It would also be helpful to others if you include a readme.md explaining that your code will not compile without the assets, and provide links to the Asset Store so others can purchase the assets for themselves.

2 Likes