# How to reset a PrimaryDataAsset when testing in the editor?

**URL:** <https://forums.unrealengine.com/t/how-to-reset-a-primarydataasset-when-testing-in-the-editor/450429>\
**Category:** Blueprint\
**Tags:** data, data-asset, testing, reset-to-default, unreal-engine, Blueprint, question\
**Created:** [June 10, 2019, 12:26pm UTC](https://forums.unrealengine.com/t/how-to-reset-a-primarydataasset-when-testing-in-the-editor/450429 "2019-06-10T12:26:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Ari\_Epic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ari_epic/32/956630_2.png) [@Ari\_Epic](https://forums.unrealengine.com/u/Ari_Epic)\
**Post date:** [July 20, 2022, 9:35am UTC](https://forums.unrealengine.com/t/how-to-reset-a-primarydataasset-when-testing-in-the-editor/450429/3 "2022-07-20T09:35:55Z")

</div>

DataAssets are never loaded in as instances, you only have access to their in-memory representation of the file itself as a [CDOs](https://forums.unrealengine.com/t/what-is-cdo/310820/3) (Class Default Object). Data Assets should be considered Read Only at runtime and not modified.

You might want to make a normal Blueprint Class just extending UObject instead of a DataAsset and create an instance of it at runtime, then you can change it to your heart’s content without it affecting the source asset itself like is happening in your case.

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-reset-a-primarydataasset-when-testing-in-the-editor/450429)._
