FishNet icon indicating copy to clipboard operation
FishNet copied to clipboard

[CodeGen Bug]: Certain function signatures will cause compilation errors.

Open aaronkwan opened this issue 1 year ago • 1 comments

General Unity version: 2022.3.10f1 Fish-Networking version: 4.2.0R Discord link: link

Description When a public static function with signature: (GameObject prefab, Transform parent) is included in a monobehavior class, it causes fishnet codegen errors.

See text file for the errors. fishneterror.txt

Replication Steps to reproduce the behavior:

  1. Create a monobehavior script (and use it somewhere)
  2. Make a function with the signature
  3. Compile code

Expected behavior See discord link Screenshots See discord link

aaronkwan avatar Jul 05 '24 03:07 aaronkwan

Most likely Unity issue. Try updating to the latest to see if the issue is resolved. If not you may need to clear your Unity caches (Library, obj, temp)

FirstGearGames avatar Jul 05 '24 13:07 FirstGearGames

Closed due to inactivity.

FirstGearGames avatar Jul 18 '24 16:07 FirstGearGames