# ML2 localization scenario

**URL:** <https://forum.magicleap.cloud/t/ml2-localization-scenario/1513>\
**Category:** Unity Development\
**Created:** [February 22, 2023, 2:18pm UTC](https://forum.magicleap.cloud/t/ml2-localization-scenario/1513 "2023-02-22T14:18:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxim.khlamov](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@maxim.khlamov](https://forum.magicleap.cloud/u/maxim.khlamov)\
**Post date:** [February 22, 2023, 2:18pm UTC](https://forum.magicleap.cloud/t/ml2-localization-scenario/1513/1 "2023-02-22T14:18:13Z")

</div>

Hi.

I would like to know if I correctly understand the localization and anchors scenario in ML2.

1. Launch Spaces app.
2. Make new scan of surroundings and save it.
3. Press localize button.
4. Launch my app.
5. Create/delete anchors.

When I restart the device I should repeat steps 1 and 3 before launching my app.  
Is it the implied scenario?  
Can I make steps 2 and 3 in my Unity app without launching Spaces app?

---

<div class="post-metadata">

**Author:** ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)\
**Post date:** [February 23, 2023, 9:33pm UTC](https://forum.magicleap.cloud/t/ml2-localization-scenario/1513/2 "2023-02-23T21:33:45Z")

</div>

The latest version of the OS makes the space selection persist across reboot. This means that the user will not have to enter the spaces app to relocalize if they already localized into the space in the last session.
