drflower / unity-obfuscator-demo Goto Github PK
View Code? Open in Web Editor NEWUnity代码混淆插件使用demo
Unity代码混淆插件使用demo
hi.大佬,你好. 因为你忽略了.meta文件,我们用unity打开demo的时候就会引用丢失.这还是有点麻烦的事情.我即使把ObfuscatorConfig引用回去.但依然会报错(最新版本).
我现在是用了你以前git节点,存在.meta文件的能跑起来.
感谢大佬做这个工具.
Code Obfuscate failed: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'DOTween, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) [0x00000] in :0
at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00000] in :0
at Mono.Cecil.DefaultAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00000] in :0
at Mono.Cecil.MetadataResolver.Resolve (Mono.Cecil.TypeReference type) [0x00000] in :0
at Mono.Cecil.ModuleDefinition.Resolve (Mono.Cecil.TypeReference type) [0x00000] in :0
at Mono.Cecil.TypeReference.Resolve () [0x00000] in :0
at Mono.Cecil.Mixin.CheckedResolve (Mono.Cecil.TypeReference self) [0x00000] in :0
at Mono.Cecil.MetadataBuilder.GetConstantType (Mono.Cecil.TypeReference constant_type, System.Object constant) [0x00000] in :0
at Mono.Cecil.MetadataBuilder.AddConstant (IConstantProvider owner, Mono.Cecil.TypeReference type) [0x00000] in :0
at Mono.Cecil.MetadataBuilder.AddParameter (UInt16 sequence, Mono.Cecil.ParameterDefinition parameter, Mono.Cecil.ParamTable table) [0x00000] in :0
at Mono.Cecil.MetadataBuilder.AddParameters (Mono.Cecil.MethodDefinition method) [0x00000] in :0
at Mono.Cecil.MetadataBuilder.AddMethod (Mono.Cecil.MethodDefinition method) [0x00000] in :0
at Mono.Cecil.MetadataBuilder.AddMethods (Mono.Cecil.TypeDefinition type) [0x00000] in :0
at Mono.Cecil.MetadataBuilder.AddType (Mono.Cecil.TypeDefinition type) [0x00000] in :0
at Mono.Cecil.MetadataBuilder.AddTypeDefs () [0x00000] in :0
at Mono.Cecil.MetadataBuilder.BuildTypes () [0x00000] in :0
at Mono.Cecil.MetadataBuilder.BuildModule () [0x00000] in :0
at Mono.Cecil.MetadataBuilder.BuildMetadata () [0x00000] in :0
at Mono.Cecil.ModuleWriter+<>c.b__1_0 (Mono.Cecil.MetadataBuilder builder, Mono.Cecil.MetadataReader _) [0x00000] in :0
at Mono.Cecil.ModuleDefinition.Read[MetadataBuilder,MetadataBuilder] (Mono.Cecil.MetadataBuilder item, System.Func`3 read) [0x00000] in :0
at Mono.Cecil.ModuleWriter.BuildMetadata (Mono.Cecil.ModuleDefinition module, Mono.Cecil.MetadataBuilder metadata) [0x00000] in :0
at Mono.Cecil.ModuleWriter.WriteModuleTo (Mono.Cecil.ModuleDefinition module, System.IO.Stream stream, Mono.Cecil.WriterParameters parameters) [0x00000] in :0
at Mono.Cecil.ModuleDefinition.Write (System.IO.Stream stream, Mono.Cecil.WriterParameters parameters) [0x00000] in :0
at Mono.Cecil.ModuleDefinition.Write (System.String fileName, Mono.Cecil.WriterParameters parameters) [0x00000] in :0
at Mono.Cecil.AssemblyDefinition.Write (System.String fileName, Mono.Cecil.WriterParameters parameters) [0x00000] in :0
at Flower.UnityObfuscator.CodeObfuscator.DoObfuscate (System.String[] assemblyPath, System.String uselessCodeLibAssemblyPath, Int32 randomSeed, Boolean enableNameObfuscate, Boolean enableCodeInject, ObfuscateType nameObfuscateType, ObfuscateType codeInjectObfuscateType, ObfuscateNameType obfuscateNameType, Int32 garbageMethodMultiplePerClass, Int32 insertMethodCountPerMethod) [0x0045d] in C:\Users\jackycai\Desktop\Unity-Obfuscator-demo-master\Assets\UnityObfuscator\Editor\Scripts\CodeObfuscator.cs:161
UnityEngine.Debug:LogError(Object)
Flower.UnityObfuscator.CodeObfuscator:DoObfuscate(String[], String, Int32, Boolean, Boolean, ObfuscateType, ObfuscateType, ObfuscateNameType, Int32, Int32) (at Assets/UnityObfuscator/Editor/Scripts/CodeObfuscator.cs:168)
Flower.UnityObfuscator.ProcessObfuscator:DoObfuscate(String[], String, Int32, Boolean, Boolean, ObfuscateType, ObfuscateType, ObfuscateNameType, Int32, Int32) (at Assets/UnityObfuscator/Editor/Scripts/ProcessObfuscator.cs:50)
Flower.UnityObfuscator.ProcessObfuscator:DoObfuscateByConfig(String[]) (at Assets/UnityObfuscator/Editor/Scripts/ProcessObfuscator.cs:82)
Flower.UnityObfuscator.ProcessObfuscator:TestObfuscate() (at Assets/UnityObfuscator/Editor/Scripts/ProcessObfuscator.cs:161)
Flower.UnityObfuscator.ObfuscatorConfigEditor:OnInspectorGUI() (at Assets/UnityObfuscator/Editor/Scripts/ObfuscatorConfigEditor.cs:139)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Assembly-CSharp.pdb转mdb时报错,Error: A portable PDB can't be converted to mdb.这个怎么解决呢。其次A.dll引用了B.dll,混淆A.dll时报错Code Obfuscate failed: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: xxxx,B.dll和A.dll在项目的同级目录下
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.