- Home /
Packaging a tool to keep intellectual property safe?
I created a editor tool and I am wondering if there is a way to package it or export it without leaving the code visible to others or as a script in the editor folder in the projects window?
If this is not a feature of Unity is there a way or proper way to do something that would allow me to keep my features secure and or from being copied? Thanks!
The only way to keep code safe is simply not to share it with others - this is not a Unity restriction - it's true of software development in general.
You can compile certain code into DLLs (or compiled shaders, for example), but even that is only an inconvenience rather than foolproof protection to people who want to access your source.
Why are you exporting the asset/who are you trying to share it with? If you're seeking to sell the asset, wouldn't your customers want to see the script in order to be able to edit it for their own needs? (For example, I would be very unlikely to buy a Unity asset that didn't come with sources since I almost always need to customise them for my projects).
No I'm not selling it, I work at a AAA so I can't compete. I am giving it to artists to use but nothing is stopping them from turning around to sell on the asset store.
There has been tools that I have used where they are not just located in the projects folder and this is basically what I am asking, I assume this is the DLL files?
Answer by Eric5h5 · Dec 05, 2015 at 04:13 PM
It's completely impossible. Standard DLLs are trivial to decompile. Native code DLLs would be harder, but are much more inconvenient to make and use, and do nothing to prevent copying. There's nothing Unity or anything else can do about this; it's the nature of digital files.
Your answer
Follow this Question
Related Questions
Detect which market app installed my app? 2 Answers
How to work with Unity Package Manager in Unity 2017.2.x+ 1 Answer
Integrating Google API: Assembly will not be loaded due to errors 2 Answers
Unity Package Manager stuck at "Resolving Packages..." when i use LWRP Template. how to fix this ? 1 Answer