-
-
Notifications
You must be signed in to change notification settings - Fork 305
Script to easily use Forge Networking from sources
There are many reasons why you would want to use Forge Networking directly from source, for example:
- Debug Forge Networking code in case you suspect a bug in it
- Modify Forge Networking code that adds/removes/changes certain behaviors to what you need
- Develop and test modifications of Forge Networking that could be merged into this repository later so everyone benefits from it
On the Getting Started page you will already find instructions on how to use Forge Networking from source in your Unity project. However, extracting and preparing files from this repository is a bit involved and error prone. To simplify this we have a script called create-assets-package-for-unity.sh
that automates the whole process for you. It will create an archive file where its contents can be directly dropped into your Unity project and you should be ready to go.
The script is written in Bash and does not have dependencies to special commands.
None
You will need to install an environment that emulates a UNIX-environment on Windows like:
- Git for Windows: https://gitforwindows.org/
- Cygwin: https://www.cygwin.com/
Open a terminal, change your working directory to the root of the cloned Forge Networking directory, and run the script like this:
./create-assets-package-for-unity.sh
The script will tell you that it has created a file ForgeNetworking-source-assets.tar
(in the same directory you called the script) which contains the contents that can now be copied into your Unity Assets
folder.
Getting Started
Network Contract Wizard (NCW)
Remote Procedure Calls (RPCs)
Unity Integration
Basic Network Samples
Scene Navigation
Master Server
Netcoding Design Patterns
Troubleshooting
Miscellaneous
-
Connection Cycle Events
-
Rewinding
-
Network Logging
-
Working with Multiple Sockets
-
Modify Master and Standalone servers
-
NAT Hole Punching
-
UDP LAN Discovery
-
Offline Mode
-
Ping Pong
-
Lobby System
-
Upgrading Forge Remastered to Develop branch or different version
-
Forge Networking Classic to Remastered Migration Guide
-
Script to easily use Forge Networking from sources
-
Run Two Unity Instances with Shared Assets for Easiest Dedicated Client Workflow