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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Resolution Note (fix version 1.1.1):
Fixed in Multiplayer HLAPI version1.1.1