Search Issue Tracker
Fixed in 2.0.7-pre.7
Votes
0
Found in [Package]
2.0.7-pre.6
Issue ID
1367201
Regression
No
WebGL build fails when Analytics package is included
Reproduction steps:
1. Open the attached project ("1367201_22.1.0a13.zip")
2. Switch Platform to WebGL
3. Build and Run the project
Expected result: Project builds and runs successfully
Actual result: Build fails with errors:
Library/PackageCache/com.unity.services.analytics@2.0.7-pre.6/Runtime/DataPrivacy/DataPrivacyButton.cs(11,10): error CS0246: The type or namespace name 'DllImportAttribute' could not be found (are you missing a using directive or an assembly reference?)
Library/PackageCache/com.unity.services.analytics@2.0.7-pre.6/Runtime/DataPrivacy/DataPrivacyButton.cs(11,10): error CS0246: The type or namespace name 'DllImport' could not be found (are you missing a using directive or an assembly reference?)
Reproducible with: 2.0.7-pre.6 (2019.4.32f1, 2020.3.22f1, 2021.2.2f1, 2022.1.0a13)
Not reproducible with: 2.0.7-pre.7 (2019.4.32f1, 2020.3.22f1, 2021.2.2f1, 2022.1.0a13)
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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Resolution Note (fix version 2.0.7-pre.7):
Fixed in: 2.0.7-pre.7