英文:
Unity Can Not Reference Any *.dll Files In Apple M1 Max (macOS 13.1 - 22C65)
问题
我有一个Unity项目,可以在Windows 10上打开和构建。但我无法在Apple M1 Max(macOS 13.1 - 22C65)上打开该项目。我尝试了Unity Sentinel和Unity Intel。问题是所有的*.dll文件都无法被引用。我使用的是通常被使用的包,比如Facebook SDK Unity、Odin Inspector等等。我将为Odin Inspector提供一个错误示例,这个错误也会发生在其他包中:Required
类型或命名空间名称找不到(是否缺少 using 指令或程序集引用?)。Required
来自Sirenix.OdinInspector。在Windows 10中,任何*.dll文件都会自动引用:
但在Mac上,没有任何*.dll文件的自动引用:
我可以通过取消选中自动引用来在Windows上重现这个错误。所以也许我的问题可以通过在Mac上自动引用*.dll文件来解决。所以我的问题是为什么在Unity Mac中没有出现自动引用菜单?如何在Mac上像在Windows 10中一样添加自动引用?
英文:
I have Unity project which can be open and build in windows 10. But I can not open the project in Apple M1 Max (macOS 13.1 - 22C65). I try Unity sentinel and Unity Intel. The problem is all *.dll files can't be referenced. I use package which usually used, like facebook sdk unity, odin inspector, etc. I'll give error example for odin inspector , this error also happen in another package : The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?)
. Required
is from Sirenix.OdinInspector. In windows 10 there is auto reference for any *.dll files :
But in mac,
there is no auto reference for any *.dll files :
I can reproduce the error in windows by uncheck the auto reference. So maybe my problem can be solve by auto reference the *.dll files in mac. So my question is why auto reference menu is no appear in unity mac ? How to add auto reference in mac like in windows 10 ?
答案1
得分: 0
我可以通过使用 lfs 克隆来修复它。
英文:
I can fix it by clone using lfs
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论