# Can't build due to XR.SimulationSettings errors

**URL:** <https://forum.magicleap.cloud/t/cant-build-due-to-xr-simulationsettings-errors/1818>\
**Category:** Unity Development\
**Created:** [May 1, 2023, 12:46pm UTC](https://forum.magicleap.cloud/t/cant-build-due-to-xr-simulationsettings-errors/1818 "2023-05-01T12:46:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maks](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@maks](https://forum.magicleap.cloud/u/maks)\
**Post date:** [May 1, 2023, 12:46pm UTC](https://forum.magicleap.cloud/t/cant-build-due-to-xr-simulationsettings-errors/1818/1 "2023-05-01T12:46:10Z")

</div>

Give us as much detail as possible regarding the issue you're experiencing.

**Unity 2022.2.4f1** :  
**1.2.0** :  
**1.4** :  
**Host OS** : MacOS

ScriptableSingleton UnityEngine.XR.Simulation.XRSimulationRuntimeSettings already exists. This can happen if there are two copies of the asset or if you query the singleton in a constructor.  
UnityEngine.Debug:LogError (object,UnityEngine.Object)

Hi! Any Ideas how to overcome these errors?

 ![Screenshot 2023-05-01 at 16.46.31](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/1X/20fb28dcb8a640297f6628fb84ff80a51723d93a.png)

---

<div class="post-metadata">

**Author:** ![maks](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@maks](https://forum.magicleap.cloud/u/maks)\
**Post date:** [May 1, 2023, 4:00pm UTC](https://forum.magicleap.cloud/t/cant-build-due-to-xr-simulationsettings-errors/1818/2 "2023-05-01T16:00:41Z")

</div>

> [@maks](#):
>
> ScriptableSingleton UnityEngine.XR.Simulation.

well  
I just deleted the SimulationSettings files from the XR/Temp folder and it started to work 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![kdowney](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kdowney/32/481_2.png) [@kdowney](https://forum.magicleap.cloud/u/kdowney)\
**Post date:** [May 1, 2023, 6:30pm UTC](https://forum.magicleap.cloud/t/cant-build-due-to-xr-simulationsettings-errors/1818/3 "2023-05-01T18:30:23Z")

</div>

Glad to hear @maks, thank you for keeping us updated. Best of luck.
