Search Issue Tracker

Fixed in 1.1.1

Votes

6

Found in [Package]

2020.1.0a24

2020.3

2020.3.3f1

2021.1

2021.2

Issue ID

1328966

Regression

Yes

[IL2CPP] Build fails when using a combination of messages, SyncVars and SyncList in a project

Package: Multiplayer hlapi

-

How to reproduce:
1. Open the user's attached project "WeaverBug.zip"
2. In File > Build Settings, make sure that Target Platform is set to Windows and Scenes/SampleScene is added to Scenes In Build
3. Build the project

Expected results: the build succeeds
Actual results: the build fails, an error can be seen in the Console:
"IL2CPP error for method 'System.Void Unity.GeneratedNetworkCode::_WriteArrayInt32_None(UnityEngine.Networking.NetworkWriter,System.Int32[])' in assembly 'D:\Projects\case_1328966-WeaverBug\Temp\StagingArea\Data\Managed\Assembly-CSharp.dll'
Additional information: Hash code collision on value `483E6DDCA003A8CEBD350443456C4F5FB7439B58`"

Reproducible with: 2020.1.0a24, 2020.3.5f1, 2021.1.4f1, 2021.2.0a13
Not reproducible with: 2019.4.24f1, 2020.1.0a23
Could not test with: 2018.4.34f1 as the build failed with different (dll related) errors

Notes:
- Builds also fail when Nintendo Switch is set as Target Platform

  1. Resolution Note (fix version 1.1.1):

    Fixed in Multiplayer HLAPI 1.1.1, available in 2019.4.0f1 and above

  2. Resolution Note (fix version 1.1.1):

    Fixed in Multiplayer HLAPI 1.1.1, available in 2019.4.0f1 and above

  3. Resolution Note (fix version 1.1.1):

    Fixed in Multiplayer HLAPI 1.1.1, available in 2019.4.0f1 and above

  4. Resolution Note (fix version 1.1.1):

    Fixed in Multiplayer HLAPI 1.1.1, available in 2019.4.0f1 and above

Comments (1)

  1. CleverEndeavour

    May 17, 2021 19:41

    I believe this is fixed by the latest commit in the MLAPI package. 1.1.1

    You can view it here.

    https://github.com/needle-mirror/com.unity.multiplayer-hlapi

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.