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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
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.