Search Issue Tracker
Active
Under Consideration for 1.9.X
Votes
1
Found in [Package]
1.9.4
Issue ID
UVSB-2563
Regression
No
Build constantly fails with errors “…. 'NetworkManager' does not contain a definition for '__rpc_name_table' (or '__rpc_func_table')“ after modifying the "AotStubs.cs" script
How to reproduce:
1. Open the “FINAL_REPROPROJECT_STRIPPED“ project
2. Open the “TestScene“
3. Comment the functions “{{Unity_Netcode_NetworkManager_rpc_name_table}}“ and “{{Unity_Netcode_NetworkManager_rpc_func_table}}“ in the “AotStubs.cs” script
4. Navigate to “File/Build Settings“
5. Build and Run
6. Wait for a little bit for the errors to appear
7. Observe the Console window
Expected result: Build does not fail and no errors are thrown
Actual result: Build fails due to errors “…. 'NetworkManager' does not contain a definition for '__rpc_name_table' (or '__rpc_func_table')“ and “…. 'NetworkManager.RpcReceiveHandler' is inaccessible due to its protection level“ thrown
Reproducible with: 1.9.2 (2021.3.37f1, 2022.3.25f1, 6000.0.0b16), 1.9.4 (2021.3.42f1, 2022.3.41f1, 6000.0.14f1)
Reproducible on: macOS 14.5 (Intel), Windows 11 (User’s)
Not reproducible on: No other environments tested
Notes:
- After the 3rd step, no issue in the Play Mode, but the Player still fails
- Deleting the “{{AotStubs.cs}}“ and then building the application will not fix the issue
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] [Vulkan] UI that is activated after a delay flickers when a Scriptable Render Pass goes over it
- [Linux] Characters are converted to Latin letters when using IME on Linux
- [Ubuntu] Possible for Create menu to show sections with no options inside
- [Usability] Not possible to set Editor Window text colour to be default black without workaround
- Text field max length is -1 by default
BioBrains
Nov 26, 2024 00:39
A new error is revealed to this list:
'NetworkManager' does not contain a definition for 'NetworkManagerExpanded'
much like the above __rpc ones.
BioBrains
Nov 26, 2024 00:23
This was 4 months ago.
This is a critical bug for me.
I CANNOT make a build. Is there a workaround? Unity 6 if anything, made my previous workarounds fail.
BioBrains
Nov 11, 2024 20:37
I noticed VisualScripting was updated to 1.9.5 and wanted to confirm the issue is still active (in case this specific issue was to be included).
BioBrains
Aug 12, 2024 23:16
looking forward to a solution as I cannot produce any builds for upcoming promotions and testing.
2022.3.40f1 was also tested, producing the same results above.