bsimser / Inventory-Pro

https://devdog.io
MIT License
2 stars 0 forks source link

Import failed with multiple namespace error #263

Open bsimser opened 5 years ago

bsimser commented 5 years ago

Original report by Romain LE BARO (Bitbucket: scandinave, GitHub: scandinave).


HI, I can't build your asset in unity because of this error and a lot of more similar ones.

#!c#

Assets/Standard Assets/Cameras/Scripts/FreeLookCam.cs(7,32): error CS0246: The type or namespace name `PivotBasedCameraRig' could not be found. Are you missing `Devdog.InventoryPro.UnityStandardAssets' using directive?

Assets/Standard Assets/Characters/ThirdPersonCharacter/Scripts/ThirdPersonUserControl.cs(2,14): error CS0234: The type or namespace name `General' does not exist in the namespace `Devdog'. Are you missing an assembly reference?

Assets/Standard Assets/Cameras/Scripts/FreeLookCam.cs(31,33): error CS0115: `UnityStandardAssets.Cameras.FreeLookCam.Awake()' is marked as an override but no suitable method found to override

etc...

The one can be fix by adding using Devdog.InventoryPro.UnityStandardAssets; to the top of the file.

I fix the others by moving

from Assets/Standard Assets/Character/Scripts/ to Assets/DevDog/InventoryPro/Scripts

I used unity 2018.2 current ver. 2.5.12 .

P.S Your bug tracker is not up to date to the version you publish on assets store.

Thx

bsimser commented 5 years ago

Original comment by Laurie Harper (Bitbucket: laurie71, GitHub: laurie71).


I have the same problem after importing 2.5.12 in Unity 2018.2.7f1 Personal.

bsimser commented 5 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


Make sure to uncheck the "Standard Assets" if you already have these in your project while importing Inventory pro.