【Unity】ビルドインされているDLLを除外してアプリサイズを減らす

2021/02/26DEVELOP, Unity

塵も積もればなんとやらで、DLLもアプリサイズ削減のための対象になりうることがあります。

ビルドインされるDLL達
	Mono dependencies included in the build
	Dependency assembly - DOTween.dll
	Dependency assembly - Security.dll
	Dependency assembly - Stores.dll
	Dependency assembly - winrt.dll
	Dependency assembly - websocket-sharp.dll
	Dependency assembly - System.Diagnostics.StackTrace.dll
	Dependency assembly - System.Globalization.Extensions.dll
	Dependency assembly - System.Runtime.Serialization.Xml.dll
	Dependency assembly - System.Xml.XPath.XDocument.dll
	Dependency assembly - netstandard.dll
	Dependency assembly - Mono.Security.dll
	Dependency assembly - System.ComponentModel.Composition.dll
	Dependency assembly - System.Configuration.dll
	Dependency assembly - System.Core.dll
	Dependency assembly - System.Data.dll
	Dependency assembly - System.Drawing.dll
	Dependency assembly - System.EnterpriseServices.dll
	Dependency assembly - System.IO.Compression.FileSystem.dll
	Dependency assembly - System.IO.Compression.dll
	Dependency assembly - System.Net.Http.dll
	Dependency assembly - System.Numerics.dll
	Dependency assembly - System.Runtime.Serialization.dll
	Dependency assembly - System.ServiceModel.Internals.dll
	Dependency assembly - System.Transactions.dll
	Dependency assembly - System.Xml.Linq.dll
	Dependency assembly - System.Xml.dll
	Dependency assembly - System.dll
	Dependency assembly - mscorlib.dll
	Dependency assembly - Assembly-CSharp-firstpass.dll
	Dependency assembly - Assembly-CSharp.dll
	Dependency assembly - Unity.Analytics.DataPrivacy.dll
	Dependency assembly - Unity.MemoryProfiler.dll
	Dependency assembly - Unity.Recorder.dll
	Dependency assembly - Unity.TextMeshPro.dll
	Dependency assembly - Unity.Timeline.dll
	Dependency assembly - UnityEngine.Advertisements.dll
	Dependency assembly - UnityEngine.Monetization.dll
	Dependency assembly - UnityEngine.SpatialTracking.dll
	Dependency assembly - UnityEngine.UI.dll

Posted by kazupon