Search Issue Tracker
Fixed
Fixed in 1.9.6
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
Comments (4)
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 PluginManager::RefreshPlugins when closing the Editor without making any changes with JetBrains Rider selected as the External Code Editor and Google Mobile Ads third-party plugin imported
- GetMainLight() returns incorrect distanceAttenuation value for a Custom Shader when URP Forward+ Rendering Path is used
- Standalone Profiler crash on GuidReservations::Reserve when it is opened on a specific project
- m_RenderPipelineGlobalSettingsMap or m_SRPDefaultSettings is pointing to UnityEngine.Rendering.HighDefinition.HDRenderPipeline when High Definition RP package is removed
- Rendering Debugger fields have no padding at the bottom of the fields list
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.