Unity Dll 版本衝突

#jackoo

The type 'TypeName' exists in both 'Dll-A, Version=x.x.x, Culture=neutral, PublicKeyToken=null' and 'Dll-B, Version=x.x.x, Culture=neutral, PublicKeyToken=null'

這個報錯困擾了我好一段時間,因為我沒辦法手動管理 Unity 的相依(尤其是 UPMNuGet 下載的包),但後來發現可以用 Assembly DefinitionOverride Reference 來解相依。

image

留言