Search Issue Tracker
Fixed in 1.1.1
Votes
0
Found in [Package]
1.0.8
Issue ID
1324449
Regression
Yes
Multiplayer hlapi package is missing a declaration of its dependency on Physics2D
How to reproduce:
1. Download the attached "1324449.zip" project in Unity version 2018.4.33f1
2. Upgrade and open the project
3. Observe the Console
Expected results: There are no errors in the Console
Actual results: There are two errors in the Console
Reproducible with: 1.0.8 (2019.4.4f1, 2019.4.25f1, 2020.3.4f1, 2021.1.3f1, 2021.2.0a13)
Not reproducible with: 1.0.8 (2019.4.3f1)
Note:
-There are two instances of the same error, which is:
Library\PackageCache\com.unity.multiplayer-hlapi@0.2.4-preview\Runtime\NetworkTransform.cs(295,16): error CS1069: The type name 'Rigidbody2D' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.Physics2DModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Physics 2D' in the Package Manager window to fix this error.
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 ShowDelayedContextMenu(bool) when changing the Size options of a Visual Element in the UIToolkit Inspector
- Crash when total memory consumption is over 2GB
- Red dots are rendered when copying texture with ASTC format and CompressGpu
- [Linux] "Trying to load color backbuffer into a complex RenderPass setup" error is thrown after entering Play mode in AR Mobile template project
- [Android] Neither of the callbacks are called when several videos with VideoPlayer are spawned on the target on the Google Pixel devices
Resolution Note (fix version 1.1.1):
Fixed in Multiplayer HLAPI version1.1.1