Search Issue Tracker
Fixed in 5.3.1
Votes
0
Found in
5.4.0a5
Issue ID
750333
Regression
No
Attempt to serialize the "decimal" type throws an "Invalid IL code" error
Repro steps:
1. Add "[SyncVar] private decimal test;" declaration in NetworkBehaviour script
2. Attach that script to the player object
3. Run Host
==>
InvalidProgramException: Invalid IL code in SyncVarTest:OnSerialize (UnityEngine.Networking.NetworkWriter,bool): IL_000d: call 0x0a000004
You can use attached project ("test" scene)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Basic UI Toolkit panels do not render when using URP+RenderGraph+D3D12
- 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
Add comment