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
- [Linux] The mouse wheel input is inverted when scrolling in the Build
- TMP Input Field is moving Text and Caret UI positions for each new line when 'Auto Size' and 'Multi Line Newline' are used
- OnTriggerExit2D events are not triggered when disabling Collider, despite "Callbacks On Disable" being enabled
- [Android] [Vulkan] UI that is activated after a delay flickers when a Scriptable Render Pass goes over it
- [Linux] Characters are converted to Latin letters when using IME on Linux
Resolution Note (fix version 1.1.1):
Fixed in Multiplayer HLAPI version1.1.1