<commit_before>---
title: Uploading and Importing
template: page.tmpl.html
position: 1
---

## Creating New Assets

To upload an asset to PlayCanvas, follow these steps:

* Navigate to the home page of the project to which the asset will be added.
* Select the 'Assets' tab and the project's asset list will be displayed.
* Select the 'New Asset' link to navigate to the upload form.
* Select 'Choose File...' and browse to the asset file. Alternatively, you can drag and drop an asset from your local filesystem onto the upload control.
* Once the asset is specified in the 'Name:' field, select 'Upload and Create' to add the asset to your asset library.

Now, when you attempt to choose an asset via the asset picker attribute control (for the Model component or the Animation component for example), your asset will be available for assignment.

## Updating Existing Assets

If you want to update an asset that you have already created, do the following:

* Select the link on the relevant asset's name in the Assets tab of the Project dashboard. This will take you to the 'Update Asset' page.
* Select 'Choose File...' and browse to the asset file. Alternatively, you can drag and drop an asset from your local filesystem onto the upload control.
* Once the asset is specified in the 'Name:' field, select 'Upload and Create' to update the asset in your asset library.

Note that you will have to reload Designer in order to see updated assets (ensuring that the browser cache is cleared or disabled).<commit_msg>Update Asset Importing steps<commit_after>---
title: Uploading and Importing
template: page.tmpl.html
position: 1
---

## Creating New Assets

To upload an asset to PlayCanvas, follow these steps:

### In the Dashboard

* Navigate to the home page of the project to which the asset will be added.
* Select the 'Assets' tab and the project's asset list will be displayed.
* Drag and drop and asset file from your computer onto the top of the asset form. The drop area will expand to accept your file.
* Alternatively, select the 'New Asset' link to navigate to the upload form.
* The asset will now start to upload.

### In the Designer

* Drag and drop your asset file into the Designer window.
* A progress bar will appear along the bottom.
* When the progress bar has disappeared your asset is ready to use.

Now, when you attempt to choose an asset via the asset picker attribute control (for the Model component or the Animation component for example), your asset will be available for assignment.

<div class="alert alert-info">
Note, if you have the Designer open while uploading assets to the Dashboard, the asset panel won't automatiically update. You can click the refresh button on the right of the Asset Panel to reload the list of Assets.
</div>

## Updating Existing Assets

If you want to update an Asset that you have already created follow the same steps as above. If you upload an Asset of the same type and same name as an existing Asset, PlayCanvas will update the existing asset with new upload.
{'fraction_non_alphanumeric': 0.0501153972964062, 'fraction_numerical': 0.0006594131223211342, 'mean_word_length': 4.142372881355932, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3817925', 'n_tokens_mistral': 762, 'n_tokens_neox': 730, 'n_words': 497}