watson-developer-cloud / unity-sdk

:video_game: Unity SDK to use the IBM Watson services.
Apache License 2.0
569 stars 206 forks source link

[unity-sdk] CS0246: The type or namespace name 'CoveredMethodStats' could not be found #624

Closed israteneda closed 4 years ago

israteneda commented 4 years ago

I started a new project with 2018.4.18f1 Unity version. I added unity-sdk and unity-sdk-core in Assets then changed the name folders to Watson and IBMSdkCore and changed the build settings to .NET 4.x equivalent.

The following errors appear:

Sdk version: unity-sdk-4.5.0 unity-sdk-core-1.2.0

mamoonraja commented 4 years ago

@israteneda thanks a lot for opening the issue. I am not able to reproduce it, it looks like an import issue, I will try to look into it asap.

mediumTaj commented 4 years ago

Did code coverage exist in 2018.? I think 2019.3 was the first to have code coverage. @israteneda can you update your Unity version? Otherwise you can comment out anything in the tests that use code coverage.

israteneda commented 4 years ago

I tried with Unity 2019.2.8f1 and works normally the errors don't show. I think the problem is related to @mediumTaj said. P.D.: I used Unity 2018.4.18f1 because it is the LTS version at the moment.

mediumTaj commented 4 years ago

I would probably move up to the latest version of Unity if your project doesn't have any dependencies on legacy versions. I'm glad the issue is resolved!