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
- Shader Keywords are not detected when defined in include files
- Right-clicking on Blackboard and Graph Inspector calls the contextual menu of the workspace
- [Android][Vulkan]Shader casting issue occurs when using Snapdragon devices with the Vulkan Graphics API
- "Paste" option is available in Shader Graph contextual menu even when the clipboard has unrelated item
- Editor crashes when debugging a for loop
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.