Unity-Technologies / multiplayer-community-contributions

Community contributions to Unity Multiplayer Networking products and services.
MIT License
415 stars 160 forks source link

Facepunch transport errors when importing to fresh probject and unable to resolve #219

Open fragilequail opened 1 year ago

fragilequail commented 1 year ago

I used a fresh project with netcode for gameobjects, multiplayer tools, and im going to use the new input system. No code or anything in the project yet and i get all these errors when importing package as git using

https://github.com/Unity-Technologies/multiplayer-community-contributions.git?path=/Transports/com.community.netcode.transport.facepunch

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(13,30): error CS0433: The type 'Connection' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(15,57): error CS0433: The type 'IConnectionManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(15,77): error CS0433: The type 'ISocketManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(197,14): error CS0433: The type 'IConnectionManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(203,14): error CS0433: The type 'IConnectionManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(211,14): error CS0433: The type 'IConnectionManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(219,21): error CS0433: The type 'IConnectionManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(235,14): error CS0433: The type 'ISocketManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(243,14): error CS0433: The type 'ISocketManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(262,14): error CS0433: The type 'ISocketManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(272,21): error CS0433: The type 'ISocketManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(110,17): error CS0433: The type 'SendType' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(17,17): error CS0433: The type 'ConnectionManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(18,17): error CS0433: The type 'SocketManager' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(197,46): error CS0433: The type 'ConnectionInfo' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(197,14): error CS0538: 'IConnectionManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(203,45): error CS0433: The type 'ConnectionInfo' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(203,14): error CS0538: 'IConnectionManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(211,48): error CS0433: The type 'ConnectionInfo' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(211,14): error CS0538: 'IConnectionManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(219,21): error CS0538: 'IConnectionManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(235,71): error CS0433: The type 'ConnectionInfo' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(235,14): error CS0538: 'ISocketManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(243,70): error CS0433: The type 'ConnectionInfo' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(243,14): error CS0538: 'ISocketManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(262,73): error CS0433: The type 'ConnectionInfo' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(262,14): error CS0538: 'ISocketManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(272,75): error CS0433: The type 'NetIdentity' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(272,21): error CS0538: 'ISocketManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8e80\Runtime\FacepunchTransport.cs(37,20): error CS0433: The type 'SteamId' exists in both 'Facepunch.Steamworks.Posix, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Facepunch.Steamworks.Win64, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

I'm honestly lost and wondering if its just me.

eslam980 commented 1 year ago

Same here.

fragilequail commented 1 year ago

I had to download it, extract it, manually place it in my project folder, then change 'Facepunch.Steamworks.Posix, to no longer target all OS, switching it back to OSX, then manually rechecking to ignore it in editor. 'Facepunch.Steamworks.Win64 stops conflicting after that.