devtodev-analytics / unity-sdk

devtodev SDK gen. 2 for Unity (deprecated)
15 stars 1 forks source link

can't import asset to project - console error #7

Closed boris-741 closed 6 years ago

boris-741 commented 6 years ago

after impoirting assetbundle to empty projet I have the following errors in unity console:

Assets/devtodev/Window/DTDEditorViewModel.cs(23,76): error CS0246: The type or namespace name `PushMessage' could not be found. Are you missing an assembly reference?

Assets/devtodev/Window/DevToDevSDK.cs(29,17): error CS0103: The name `Analytics' does not exist in the current context

Assets/devtodev/Window/DevToDevSDK.cs(49,17): error CS0103: The name `PushManager' does not exist in the current context

Assets/devtodev/Window/DevToDevSDK.cs(61,17): error CS0103: The name `Analytics' does not exist in the current context

I have Unity version 5.5. How can I integrate your package?

ghost commented 6 years ago

Hello, Boris Please check that file devtodev_cross.dll located at Assets/Plugins/Standalone has the following platforms selected:

standalone
boris-741 commented 6 years ago

Thank you for such a quick response. I did as you asked. But now I have the following errors:

error CS1704: An assembly with the same name UnityEngine.UI' has already been imported. Consider removing one of the references or sign the assembly C:/Program Files/Unity 5.5.6f1/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll (Location of the symbol related to previous error) C:/Program Files/Unity 5.5.6f1/Editor/Data/UnityExtensions/Unity/GUISystem/Standalone/UnityEngine.UI.dll (Location of the symbol related to previous error) error CS1704: An assembly with the same nameUnityEngine.Networking' has already been imported. Consider removing one of the references or sign the assembly C:/Program Files/Unity 5.5.6f1/Editor/Data/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll (Location of the symbol related to previous error) C:/Program Files/Unity 5.5.6f1/Editor/Data/UnityExtensions/Unity/Networking/Standalone/UnityEngine.Networking.dll (Location of the symbol related to previous error) error CS1704: An assembly with the same name `UnityEngine.HoloLens' has already been imported. Consider removing one of the references or sign the assembly C:/Program Files/Unity 5.5.6f1/Editor/Data/UnityExtensions/Unity/UnityHoloLens/Runtime/UnityEngine.HoloLens.dll (Location of the symbol related to previous error) C:/Program Files/Unity 5.5.6f1/Editor/Data/UnityExtensions/Unity/UnityHoloLens/RuntimeEditor/UnityEngine.HoloLens.dll (Location of the symbol related to previous error)

boris-741 commented 6 years ago

Reimport All fix this issue. Thanks again

ghost commented 6 years ago

You are welcome :)