# Configuration and Tools

FishNet comes with some useful settings and editor tools to be used with it; these can be accessed through the (**Tools → Fish-Networking**) toolbar menu.

<div align="left"><figure><img src="https://1328095063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MheH2hMo3djr9VSyxTE%2Fuploads%2Fgit-blob-25f2dbf4642ceda40058d884c9a9241aa61ae662%2Ftoolbar-menu.png?alt=media" alt=""><figcaption></figcaption></figure></div>

***

## Beta

The settings here will vary depending on your FishNet version and will enable you to activate and deactivate the latest beta features. This can be helpful if you want to stay with the most tested code for you project or if alternatively if you want to try out features that are coming out soon.

***

## Utility

### Quality of Life Attributes

With this option you will be able to disable and enable certain attributes FishNet uses. It's not recommended to use this unless a developer or community helper advises you do so for debugging purposes.

### Upgrading From Mirror

When converting a project from Mirror Networking, it can be helpful to use these tools.

#### Replace Components

This tool helps you replace common Mirror components with what FishNet may use instead.

#### Remove Defines

This tool removes the many scripting defines that Mirror includes in your Unity project.

### Refresh Default Prefabs

This option will cause FishNet's [Default Prefab Objects](https://fish-networking.gitbook.io/docs/fishnet-building-blocks/scriptableobjects/spawnableprefabs/defaultprefabobjects) tool to be refreshed by searching your project and keeping track of the Network Object Prefabs within it. This is done automatically for you, but you may want to trigger it if you start seeing the wrong prefabs being spawned in a client build or editor.

### Reserialize NetworkObjects

This tool allows you to reserialize prefabs and scenes. Most often you will use this if you get an error message by FishNet telling you to do so. It can also help you if you are running into errors reporting missing sceneids.

{% hint style="info" %}
If you run it on the open scenes, be sure to save them after it runs.
{% endhint %}

<div align="left"><figure><img src="https://1328095063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MheH2hMo3djr9VSyxTE%2Fuploads%2Fgit-blob-c4b8880c34755c4436fa087a11df1b0bba96a221%2Freserialize-objects-menu.png?alt=media" alt=""><figcaption></figcaption></figure></div>

***

## Configuration

The FishNet configuration (available in the Project Settings) has options for FishNet Pro's **Code Stripping** feature as well as the Prefab Objects Generator and NetworkBehaviour Template.

<div align="left"><figure><img src="https://1328095063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MheH2hMo3djr9VSyxTE%2Fuploads%2Fgit-blob-9ffdba18f7244d4fcb70b0398320c159a289a39e%2Ffishnet-configuration.png?alt=media" alt=""><figcaption></figcaption></figure></div>

#### Code Stripping

FishNet Pro allows you to strip server-only code from [non-server builds](#user-content-fn-1)[^1], this includes the code inside [ServerRpcs](https://fish-networking.gitbook.io/docs/guides/features/network-communication/remote-procedure-calls#serverrpc), [Server](https://fish-networking.gitbook.io/docs/guides/features/server-and-client-identification/executing-on-server-or-client#server-attribute) marked methods, and server specific callbacks such as [OnStartServer](https://fish-networking.gitbook.io/docs/guides/features/networked-gameobjects-and-scripts/network-behaviour-guides#onstartserver) and [OnSpawnServer](https://fish-networking.gitbook.io/docs/guides/features/networked-gameobjects-and-scripts/network-behaviour-guides#onspawnserver). You can use one of the two available methods for this, either **redirection** or **emptying.**

#### New NetworkBehaviour Template

This allows you to customize the NetworkBehaviour asset template as well as choose a new location for it. If you want to create a NetworkBehaviour using this template, simply go to **Assets → FishNet → NetworkBehaviour Script.**

#### Prefab Objects Generator

The Prefab Objects Generator is used by the [Default Prefab Objects](https://fish-networking.gitbook.io/docs/fishnet-building-blocks/scriptableobjects/spawnableprefabs/defaultprefabobjects) search your project and keep track of the Network Object Prefabs within it. You can enable and disable it as well as enable and disable its logging.

The **Full Rebuild** option will tell FishNet to search all prefabs instead of just ones that were recently modified.

**Spawnable Only** instructs the generator to only find NetworkObject prefabs that have [IsSpawnable](https://fish-networking.com/FishNet/api/api/FishNet.Object.NetworkObject.html#FishNet_Object_NetworkObject_IsSpawnable) enabled.

The **Default Prefab Objects Path** option allows you to change the default path of the asset in your Unity project.

And finally you can choose which folders to exclude or include when it searches for network prefabs.

<div align="left"><figure><img src="https://1328095063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MheH2hMo3djr9VSyxTE%2Fuploads%2Fgit-blob-cb9452d36c727e19d5f43efaf4d6277c2afba18a%2Fprefab-objects-generator.png?alt=media" alt=""><figcaption></figcaption></figure></div>

***

## Getting Started

The getting started option will show FishNet's **Getting Started** menu, giving you quick access to relevant FishNet links, including the Documentation, Discord, GitHub, and more.

<div align="left"><figure><img src="https://1328095063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MheH2hMo3djr9VSyxTE%2Fuploads%2Fgit-blob-8480be9e0f14ccae6d4805854d22eac43a2c8a6b%2Fgetting-started-editor.png?alt=media" alt=""><figcaption></figcaption></figure></div>

[^1]: Regular build profiles that aren't headless/dedicated server
