Skip to content
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

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

Open
fragilequail opened this issue Apr 29, 2023 · 2 comments

Comments

@fragilequail
Copy link

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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\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@b1c5da8\Runtime\FacepunchTransport.cs(197,14): error CS0538: 'IConnectionManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8\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@b1c5da8\Runtime\FacepunchTransport.cs(203,14): error CS0538: 'IConnectionManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8\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@b1c5da8\Runtime\FacepunchTransport.cs(211,14): error CS0538: 'IConnectionManager' in explicit interface declaration is not an interface

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

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8\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@b1c5da8\Runtime\FacepunchTransport.cs(235,14): error CS0538: 'ISocketManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8\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@b1c5da8\Runtime\FacepunchTransport.cs(243,14): error CS0538: 'ISocketManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8\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@b1c5da8\Runtime\FacepunchTransport.cs(262,14): error CS0538: 'ISocketManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8\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@b1c5da8\Runtime\FacepunchTransport.cs(272,21): error CS0538: 'ISocketManager' in explicit interface declaration is not an interface

Library\PackageCache\com.community.netcode.transport.facepunch@b1c5da8\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
Copy link

Same here.

@fragilequail
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants