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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note (fix version 1.1.1):
Fixed in Multiplayer HLAPI version1.1.1