Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
2
Question by michidk · Nov 26, 2015 at 12:04 PM · unity 5documentationlegalstatementdecompile

Decompiling Unity

Hey,

is it legal to decompile Unity, for looking up things, the documentation doesn't cover?

Is there an official statement of Unity concerning this topic?

Thanks!

Comment
Add comment
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

2 Replies

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

Answer by Bunny83 · Nov 26, 2015 at 01:24 PM

The ability to decompile / convert managed IL code into any other .NET language is a feature of the CIL itself. Even Visual studio does partially decompile referenced assemblies. MattRix even uploaded the code on a github repo with the permission of Aras. Keep in mind that the code is still copyrighted by UnityTechnologies. Decompiling is ok as long as you don't copy things and claim it's yours ^^. If you plan to extract code from there to use it in your own projects you really should contact the Unity support for getting permissions.

This might not be a good advice but as long as you keep things for yourself, nobody can blame you. However whenever you release something you should be clear about your sources and licenses.

I've also just found this question which still doesn't have an answer (so i'm going to write one ^^). I will tell him the same thing. If you want to use something from those assemblies you really should contact the support.

ps: I have ILSpy running almost all the time in the background (thinking about to adding it to the autostart :P).

Comment
Add comment · Show 1 · 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 mgear · Mar 24, 2018 at 02:09 AM 0
Share

Update for 2018, since that unitydecompiled is now closed, "The C# part of the Unity engine and editor source code. $$anonymous$$ay be used for reference purposes only." https://github.com/Unity-Technologies/UnityCsReference

avatar image
1

Answer by btft · Nov 26, 2015 at 01:18 PM

Decompiling might be considered unethical, even if found legal. What I would suggest is to use reflector, such as ILSpy to look up assemblies and understand code not covered by docs.

Comment
Add comment · Show 3 · 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 michidk · Nov 26, 2015 at 01:31 PM 0
Share

i personally don't like ILSpy, i would use dotPeek by JetBrains

avatar image Bunny83 michidk · Nov 26, 2015 at 01:52 PM 0
Share

$$anonymous$$ost people seem to prefer ILSpy, but it's probably just a matter of choice. I'm not a fan of dotPeek due to it's closed source and strict license, even though dotPeek might has some features which are be missing in ILSpy. ILSpy is open source released under a $$anonymous$$IT license and only uses other $$anonymous$$IT or LGPL licensed libraries.

avatar image btft · Nov 26, 2015 at 01:40 PM 0
Share

Haven't used it yet but as everyday user of R# I'd give it a try. :)

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

42 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

i'have problem with scrip 1 Answer

Can i use Editor Extensions(Forked script or texture or DLL) from the Asset Store At runtime (Game) and sell it as a final product ? 0 Answers

EULA Etiquette - Small Team Collaboration using free Unity5 Personal Edition. 0 Answers

Decompililing Unity Assembly-CSharp IEnumerator 1 Answer

unity documentation pdf 1 Answer


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