Search Issue Tracker
Fixed in 5.4.3
Votes
0
Found in
5.4.0f3
Issue ID
820982
Regression
No
[UNET]Invalid IL Code in PlayerSetup
Steps to reproduce the issue:
1. Open attached project.
2. Build the project for Windows ("CTRL"+"B").
3. Back to the Editor and open scene named "Prototype".
4. Enter the Play mode.
5. In the "Game" window press "Dedicated Server (S)" button.
6. Launch the build and press "Client (C)" button.
7. Back to the Editor.
Actual result:
The Play mode pauses and "Console" window outputs error message when the client tries to connect.
InvalidProgramException: Invalid IL code in PlayerSetup:InitilizePlayer (): IL_0042: call 0x0600001b
PlayerSetup.Start () (at Assets/Prototype/scripts/PlayerSetup.cs:12)
Expected result:
The client should connect successfully.
Reproduced with:
5.3.6p2, 5.4.0f3.
Cannot reproduce with:
5.1.5f1, 5.2.5f1 (because "The type or namespace name `SceneManagement' does not exist in the namespace `UnityEngine'.")
5.5.0a5 (because "APIUpdater encountered some issues and was not able to finish.
API updating failed. Check previous console messages.
Error building Player because scripts have compiler errors in the editor")
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "GetOrAddComponent" method in "Unity.VisualScripting" returns "MissingComponentException" error when the "BoxCollider" Component doesn't exist
- Render Graphs Kebab Menu Buttons are missing padding and Highlight is uneven when hovered over
- 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
Add comment