ricardojmendez / UnitySteer

Steering, obstacle avoidance and path following behaviors for the Unity Game Engine
https://numergent.com/tags/unitysteer/
Other
1.21k stars 276 forks source link

Cannot put Package in subfolder #13

Closed erojasfredini closed 11 years ago

erojasfredini commented 11 years ago

Qhen I try to put the UnitySteer folder inside a subfolder in Unity The autonomousVehicle stop working. Is this a known isse? or I'm doing something wrong?

Thanks

ricardojmendez commented 11 years ago

I would expect you are doing something wrong. :-) UnitySteer has no required folder structure and you should be able to store it anywhere in your project that fits your structure.

Can you elaborate on what you mean by "stops working"? The only thing I can imagine right off the bat is something Unity-specific, like the connection between the component and the class being lost. Are you moving the folder outside of Unity without having metafiles enabled, for example?

erojasfredini commented 11 years ago

Thanks for the answer I will explain better the issue. Ehen I have the UnitySteer in the root folder the Autonomous Vehicle is ok but when I move the UnitySteer folder to a sub folder (in particular I want Plugins/UnitySteer) the AutonomousVehicle says Multi-object editing not support in the object inspector of the GameObject. I repeat this only happens when UnitySteer is inside a sub folder, when it is in the root I can see the normal properties in the inspector of the AutonomousVehicle. What I do to move UnitySteer is:

1) Import the package from the Unity Asset Store. It is imported in the root 2) I move the folder in the project tab of unity to the subfolder.

I have indeed the VersionControl mode set to MetaFiles because I’m working with a repository. Nothing else is done with the metas.

Thanks

erojasfredini commented 11 years ago

I have found a solution I was putting it inside the "Plugins" folder and Unity doesn't like that :P Anyway thanks for the answer.

ricardojmendez commented 11 years ago

Interesting, I had not heard of that. I'll test and add it to the docs, thanks.

Ricardo

On Feb 11, 2013, at 5:26 PM, Emmanuel notifications@github.com wrote:

I have found a solution I was putting it inside the "Plugins" folder and Unity doesn't like that :P Anyway thanks for the answer.

— Reply to this email directly or view it on GitHub..

yhancik commented 11 years ago

Just FYI, UnitySteer 2.5 beta1 was working inside the Plugins folder. It stopped working when I tried the beta3. But as Bobxiv suggested, moving it back to the root makes it work ;)

ricardojmendez commented 11 years ago

Thanks, I'll test. Has anything else changed? For instance, have you switched to Unity 4? (I am still on Unity 3.5)

yhancik commented 11 years ago

I first switched to Unity 4 (still on UnitySteer 2.5 beta1) and everything worked flawlessly. It's only the upgrade to the beta 3 that broke some stuff. Could it be linked to the "editor" classes in beta3 that weren't in beta1?