> For the complete documentation index, see [llms.txt](https://gley.gitbook.io/mobile-pedestrian-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gley.gitbook.io/mobile-pedestrian-system/upgrade-guide.md).

# Upgrade Guide

{% embed url="<https://youtu.be/Vvx4yMt3Mwg>" %}

## Upgrade to v1.5

The v1.5 asset will not properly install over the previous packages. Please carefully follow the instructions to keep your settings and waypoints.

{% hint style="warning" %}
**To avoid any unexpected issues, back up your project before upgrading.**
{% endhint %}

Open the scene created with the older plugin version and ensure everything works.

**Download the following tool that will prepare your old package for upgrade:**

{% embed url="<https://drive.google.com/file/d/1IjpOBQ_TMLxcgEC3fR1uCV2JGxCaCenp/view?usp=drive_link>" %}

Import the UpgradeTool package into your project

Run the upgrade tool

<figure><img src="https://449878595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCzYS154gIDHX1Uf5YcUv%2Fuploads%2FIDtc6E0dRdFQugXsButu%2FV1toV35.jpg?alt=media&amp;token=99fe2872-db5e-4c1b-afbe-ac35f08aaf2a" alt=""><figcaption></figcaption></figure>

Make sure to select **Upgrade Pedestrians to v1.5.**

The tool will copy the files that need to be kept automatically and delete the old files from your project. The following image shows the files that were copied from old folders to be kept.

<figure><img src="https://gley.gitbook.io/mobile-traffic-system-v3/~gitbook/image?url=https%3A%2F%2F2660578382-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FOJSiNKEef5XFRRro6JM7%252Fuploads%252Fhu1MaYw0Y5ay0ipdane4%252FCapture.JPG%3Falt%3Dmedia%26token%3D0d177845-a2b9-41d3-92ae-afead1048f58&#x26;width=768&#x26;dpr=1&#x26;quality=100&#x26;sign=5c136c23&#x26;sv=2" alt=""><figcaption></figcaption></figure>

A lot of errors would appear in your console. This is normal because all the scripts from the old plugins were deleted. You should not do anything about them right now.

#### Import the new v1.5.x plugin from the Asset Store

After import, all the errors should go away.

If you have errors like this:

**The name 'PedestrianTypes' does not exist in the current context**

These are because PedestrianTypes moved inside the User namespace, so you have to add the following using statement to each file that references the PedestrianTypes:

**using Gley.PedestrianSystem.User;**

Now everything is ready and should work as before.

{% hint style="info" %}
For any issues, contact us on [Discord](https://discord.com/invite/7eSvKKW)
{% endhint %}
