-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: read ./Library/ScriptAssemblies/Assembly-CSharp.dll with symbol fail #16
Comments
这个: 另外一个问题,你看看你项目是不是用async/await |
以下都是unity lts版本
3.使用unity 2017.4.32 仍然是原有项目,重新进行了编译步骤: Window下打开源码包的Source\VSProj\build_for_unity.bat,UNITY_HOME变量的值修改为指向本机unity安装目录 ,可生成 Assembly-CSharp.patch.bytes文件。但是有白色提示 4.用unity 2017.4.32打开官方的helloworld,可生成补丁,但是也报错 5.可以确定 Warning: read ./Library/ScriptAssemblies/Assembly-CSharp.dll with symbol fail报错和unity版本有关,替换Mono.Cecil无效,或者应该用哪个路径下的文件替换。项目中有多个同名文件。 |
这是个warning,dll没有对应的调试符号文件mdb。不影响运行,至少UnityEditor里的运行。 |
这个对解决问题没有帮助,明确一下问题,同一个项目 怀疑injex fix目前是否只测试过对2018.3.x的兼容性,而没有测试过2018.4.x? |
WARNING: The runtime version supported by this application is unavailable |
请问:Warning: read ./Library/ScriptAssemblies/Assembly-CSharp.dll with symbol fail |
这个warning没啥影响 |
遇到有个类里的函数都无法patch,报的是这个warning |
我也有这个warning,但是依旧会 process success |
unity 2018.4.5
报错:这个报错在HelloWorld例子中也出现
Warning: read ./Library/ScriptAssemblies/Assembly-CSharp.dll with symbol fail
自己的项目中:
Unhandled Exception:System.Exception: XXX.Utils/d__4 is CompilerGenerated
at IFix.CodeTranslator.addExternType (Mono.Cecil.TypeReference type, Mono.Cecil.TypeReference contextType) [0x00056] in :0
at IFix.CodeTranslator.addExternMethod (Mono.Cecil.MethodReference callee, Mono.Cecil.MethodDefinition caller) [0x000ba] in :0
at IFix.CodeTranslator.getMethodId (Mono.Cecil.MethodReference callee, Mono.Cecil.MethodDefinition caller, System.Boolean directCallVirtual, IFix.CodeTranslator+InjectType callerInjectType) [0x00123] in :0
at IFix.CodeTranslator.getMethodId (Mono.Cecil.MethodReference callee, Mono.Cecil.MethodDefinition caller, System.Boolean directCallVirtual, IFix.CodeTranslator+InjectType callerInjectType) [0x00f64] in :0
at IFix.CodeTranslator.addAnonymousCtor (Mono.Cecil.MethodDefinition ctor) [0x00060] in :0
at IFix.CodeTranslator.getMethodId (Mono.Cecil.MethodReference callee, Mono.Cecil.MethodDefinition caller, System.Boolean directCallVirtual, IFix.CodeTranslator+InjectType callerInjectType) [0x00deb] in :0
at IFix.CodeTranslator.getMethodId (Mono.Cecil.MethodReference callee, Mono.Cecil.MethodDefinition caller, System.Boolean directCallVirtual, IFix.CodeTranslator+InjectType callerInjectType) [0x00f64] in :0
at IFix.CodeTranslator.addAnonymousCtor (Mono.Cecil.MethodDefinition ctor) [0x00060] in :0
at IFix.CodeTranslator.getMethodId (Mono.Cecil.MethodReference callee, Mono.Cecil.MethodDefinition caller, System.Boolean directCallVirtual, IFix.CodeTranslator+InjectType callerInjectType) [0x00deb] in :0
at IFix.CodeTranslator.getMethodId (Mono.Cecil.MethodReference callee, Mono.Cecil.MethodDefinition caller, System.Boolean directCallVirtual, IFix.CodeTranslator+InjectType callerInjectType) [0x00f64] in :0
at IFix.CodeTranslator.getMethodId (Mono.Cecil.MethodReference callee, Mono.Cecil.MethodDefinition caller, System.Boolean directCallVirtual, IFix.CodeTranslator+InjectType callerInjectType) [0x00f64] in :0
at IFix.CodeTranslator.getMethodId (Mono.Cecil.MethodReference callee, Mono.Cecil.MethodDefinition caller, System.Boolean directCallVirtual, IFix.CodeTranslator+InjectType callerInjectType) [0x00f64] in :0
at IFix.CodeTranslator.processMethod (Mono.Cecil.MethodDefinition method) [0x00000] in :0
at IFix.CodeTranslator.Process (Mono.Cecil.AssemblyDefinition assembly, Mono.Cecil.AssemblyDefinition ilfixAassembly, IFix.GenerateConfigure configure, IFix.ProcessMode mode) [0x00190] in :0
at IFix.Program.Main (System.String[] args) [0x0016c] in :0
UnityEngine.Debug:LogError(Object)
IFix.Editor.IFixEditor:CallIFix(List`1) (at Assets/IFix/Editor/ILFixEditor.cs:140)
IFix.Editor.IFixEditor:InjectAssembly(String) (at Assets/IFix/Editor/ILFixEditor.cs:269)
IFix.Editor.IFixEditor:InjectAllAssemblys() (at Assets/IFix/Editor/ILFixEditor.cs:287)
IFix.Editor.IFixEditor:InjectAssemblys() (at Assets/IFix/Editor/ILFixEditor.cs:152)
配置文件
XXX是我们自己的命名空间
The text was updated successfully, but these errors were encountered: