Verified to be working with:
- 2021.3.23 OSX
- 2022.2.16 Win
Process:
- Generate keypair and cert with provided
openssl.conf
. Cert size in DER format must be 1267 bytes - Replace cert in
Unity.Licensing.EntitlementResolver.dll
using HEX editor orpatch
binary - Modify
license.xml
template to your needs - Generate
Unity_lic.ulf
signed with private key usingsign
binary ts.go
is an implementation ofTimeStamp
encoder/decoder just in case.
Usage:
patch /path/to/Unity.Licensing.EntitlementResolver.dll
sign
cp Unity_lic.ulf /path/to/license/dir
Block domains in /etc/hosts
# unity
127.0.0.1 license.unity3d.com
127.0.0.1 core.cloud.unity3d.com
127.0.0.1 activation.unity3d.com
127.0.0.1 cdp.cloud.unity3d.com
# this one seems to be optional
# blocking won't allow signing into Unity ID
127.0.0.1 api.unity.com