Enable javascript fails

Hello,

I use Unity3d 4 and downloaded the newest version of the pathfinding project 3.1.4. Before anything else in a new project, I import the package, assign the Pathfinding component to the existing main camera and switch to the inspector->settings->editor and enable JS support.
It now generates the Plugins and AstarPathfindingEditor folder and starts to restructure the projects assets, but after a while I get the error message: Move failed: Moving Assets/AstarPathfindingproject to Assets/Plugins/Astarpathfindingproject.

So I end up with a half restructured project which can’t interact with custom javascripts because the project is missing the correct structure.

I searched the site to get a clue what is wrong or to which folder I have to move the files, but had no success.

Anyone has an idea that can solve this?

Hi

Sorry for the late answer. Perhaps you have already solved it, but anyway.
Try to delete all pathfinding project related folders and import it again. Make sure the AstarPathfindingProject folder is really in the Assets folder, and that no old folder name d Astarpathfindingproject exists in the plugins folder. If it still does not work, make sure file permissions are correct on the folders.

Hi, sorry for my late answer now and thank you :slight_smile:
I decided to run with c# as a fast solution for the time beeing.

After I double checked the permissions, I get the feeling there might be the real issue as you suspected.
Before trying to switch to JS, all permissions are given (Win 7 with rights like 777). But after the conversion failed, even the original remaining folder Astarpathfindingproject has no longer this permissions set. Thats strange and I defenitivly have to check further on my side…

If I get the time to investigate I will post the answer. But don’t expect it to be in the near future due to less time now. Sorry :frowning: