Search Issue Tracker
Fixed
Fixed in 1.9.1
Votes
0
Found in [Package]
1.9.0
Issue ID
OXRB-263
Regression
Yes
"The type 'AnalyticsResult' is defined in an assembly that is not referenced" error is thrown when opening a specific project with OpenXR Package installed
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Observe the Console Window
Expected result: No error is thrown
Actual result: “error CS0012: The type 'AnalyticsResult' is defined in an assembly that is not referenced. You must add a reference to assembly 'UnityEngine.UnityAnalyticsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.” error is thrown
Reproducible with: 1.8.2 (2021.3.31f1, 2022.3.10f1, 2023.1.0a13)
Not reproducible with: 1.7.0 (2021.3.29f1, 2022.3.2f1, 2023.1.1f1, 2023.2.0a20), 1.8.1 (2021.3.29f1, 2022.3.2f1, 2023.1.1f1, 2023.2.0a20), 1.8.2 (2023.1.0a20, 2023.1.17f1)
Could not test with: 1.8.2 (2023.1.0a14 - 2023.1.0a19 (Two “error CS0117” errors and one “error CS0103” error), 2023.2.0b14, 2023.3.0a10 (Multiple "com.unity.xr.openxr" package compilation errors))
Reproducible on: Intel macOS 13.5
Not reproducible on: No other environment tested
-
EntaltoVeron
Dec 12, 2023 10:21
I've seen that it only happens when the target platform is PS5, it doesn't happen when the target platform is Windows or Android. I'm using Windows 11, if that may be relevant.
-
EntaltoVeron
Dec 12, 2023 09:30
Hello, I'm using Unity 2022.3.15f1 and OpenXR Plugin 1.9.1, and I still get that error:
error CS0012: The type 'AnalyticsResult' is defined in an assembly that is not referenced. You must add a reference to assembly 'UnityEngine.UnityAnalyticsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
Are there any solutions for this?
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 UndoManager::Undo when undoing SpriteAtlas Compression value changes
- [Happy Harvest] #ThunderLabel text is "\u26C8" instead of "⛈"
- Warning “New Sprite Atlas: There is a mismatch in secondary textures of sprites compared to WhiteUnit, wasting texture space and potentially break draw call batching. Affected Sprites are (Flag)“ is thrown when packing Atlas with Sprite Atlas V2
- Sprite Editor dropdown text is cut-off for options with longer text
- Sprite Editor can't be scrolled horizontally using the trackpad gesture
Resolution Note (fix version 1.9.1):
Fixed the issue. It will be available in the next OpenXR release.