A set of annotations, Roslyn analyzers & source generators for Fish-Networking (https://github.com/FirstGearGames/FishNet).
- Unity 2020 or later
- Unity 2021 or later
- Download the latest release
- Extract the downloaded archive
- Copy the extracted files to a folder inside your
Assetsfolder
- TBA
DontDestroyOnLoadUsageAnalyzer→ Detects invalid usage ofObject.DontDestroyOnLoadonNetworkObjects andNetworkBehavioursNetworkBehaviourCallbackBaseMethodCallAnalyzer→ Detects missing and unordered calls to the base method ofNetworkBehaviourcallbacksNetworkBehaviourConstructorAnalyzer→ DetectsNetworkBehaviourconstructorsPreventUsageInsideAnalyzer→ Prevents fields/properties/methods annotated withPreventUsageInsideAttributefrom being used inside invalid methodsRemoteProcedureCallAnalyzer→ Prevents RPCs (ServerRpc/ObserversRpc/TargetRpc) from callingbaseRPC methods
- TBA