Search Issue Tracker
Fixed in 2018.1.X
Votes
3
Found in
2017.3.0f3
Issue ID
997970
Regression
No
[VSCode] UnityAnalyticsModule reference not added to csproj in 2017.3
Steps to reproduce:
1. Open QA attached project
2. Open test.cs in VSCode
3. Notice that in 'Problems' tab it says 'The type 'AnalyticsResult' is defined in an assembly that is not referenced'
Reproduced on: 2017.3.1p2
Not reproduced: 2018.1.0b9, 2018.2.0a2
Note: AnalyticsEvent only present in 2017.3 and up
Workaround: Add the reference to .csproj manually
<Reference Include="UnityEngine.UnityAnalyticsModule">
<HintPath>C:/Program Files/Unity/Editor/Data/Managed/UnityEngine/UnityEngine.UnityAnalyticsModule.dlll</HintPath>
</Reference>
Fixed in: 2017.4.6f1, 2018.1.0b1, 2018.2.0a1
Comments (3)
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
p0w1nd
Jun 07, 2018 13:45
I'm also seeing this warning in Unity 2017.4.4f1
zdolezal
Apr 17, 2018 19:02
When I tried workaround, I'm getting:
The type 'AnalyticsResult' exists in both 'UnityEngine.UnityAnalyticsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
van800
Apr 17, 2018 10:28
Same problem for JetBrains Rider
https://github.com/JetBrains/resharper-unity/issues/523