Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by xEnOnn · Oct 05, 2012 at 04:45 AM · exportdistribution

Distributing codes that have dependencies with other assets

I have bought a few scripts from the Assets store to use them in my game. I was thinking that I want to publish the game's source code among a group of people so that we all can work together. To share it among my friends, I export my project. Unity needs to export its dependencies too for it to work.

And here's the problem. My intention is to share my own code. But because my code has dependencies with other Assets, Unity exports them together. If I share this exported package, I would accidentally share the Assets' codes, which may not be rightful to do so.

I'm still new to Unity and so perhaps I am missing out certain functions within Unity. Is there a feature that allow me to compile the Assets into binary form, which my code can still depend on and work when I share my exported project package with friends, and also won't accidentally share codes that I am not suppose to? Something like a JAR file in Java that developers could just exchange the JAR files and import them into their project to use without exposing the codes?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fattie · Oct 05, 2012 at 09:13 AM 0
Share

check out and search around DLLs

avatar image xEnOnn · Oct 05, 2012 at 09:21 AM 0
Share

I'm fairly new to Unity and have never used DLL before. I did a search but still not sure what I should do. Are there any tutorials on this matter? Thanks!

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by whydoidoit · Oct 05, 2012 at 09:58 AM

Unity should only export those DLLs if your code is dependent on them - if it is dependent on them then your group would need those assets in order to use your code. Most often this means that the group would need licenses for the referenced components.

If you want to copy the code without the dependencies as a package - uncheck the include dependencies checkbox - but be aware it is unlikely that the code would compile and work.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image whydoidoit · Oct 05, 2012 at 09:59 AM 0
Share

$$anonymous$$ost asset store assets now indicate if you need to purchase one license per developer. In any case, if this group are not working on your project then they would need a license each.

avatar image xEnOnn · Oct 05, 2012 at 10:15 AM 0
Share

You mentioned that I could export as DLL from within Unity. Would this solve the problem of releasing the source code of the asset dependencies? That is, other developers could simply import the DLL and use as how he would expect, like importing an Unity package but only revealing the prefabs but not the code? Thanks.

avatar image whydoidoit · Oct 05, 2012 at 11:04 AM 0
Share

If you were to distribute an Asset Store asset that was a DLL it would be the same as distributing its source code from a licensing stand point - the license would allow you to create a game using the DLL not distribute it.

avatar image xEnOnn · Oct 07, 2012 at 01:04 AM 0
Share

Thanks for the advice!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Xcode app deployment not working correctly. 0 Answers

Export object stack FROM unity with textures 1 Answer

what steps to do in 3ds max to export animated mesh 0 Answers

way to export procedural texture from shader? 0 Answers

c4d to unity : Alternative to PLA? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges