Skip to content
This repository has been archived by the owner on Aug 15, 2022. It is now read-only.

Forge Networking Alloy networking code cannot be used without Unity due to (unused) import #385

Open
NoTuxNoBux opened this issue Nov 30, 2020 · 0 comments

Comments

@NoTuxNoBux
Copy link

Version Number and Operating System(s):

Windows 10, Forge Network Alloy at da8e129 (develop).

Expected behavior:

The ForgeNetworkingRemastered/ForgeUnity/Assets/BeardedManStudios/Scripts/Networking/Forge/Networking folder is usable in stand-alone non-Unity projects.

Actual behavior:

It is not, due to Unity imports being referenced.

Steps to reproduce:

Copy-paste the ForgeNetworkingRemastered/ForgeUnity/Assets/BeardedManStudios/Scripts/Networking/Forge/Networking folder into a non-Unity C# project and try to build using dotnet build.

A compiler error will happen due to SQPServer referencing Unity.

Context

This import is unused and can be safely removed.

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

No branches or pull requests

1 participant