# Viewport reset after map load - how to avoid this?

**URL:** <https://forums.unrealengine.com/t/viewport-reset-after-map-load-how-to-avoid-this/439562>\
**Category:** Cinematics & Media\
**Tags:** reset, load, orientation, viewport, unreal-engine, question\
**Created:** [December 15, 2018, 3:35pm UTC](https://forums.unrealengine.com/t/viewport-reset-after-map-load-how-to-avoid-this/439562 "2018-12-15T15:35:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [December 15, 2018, 3:35pm UTC](https://forums.unrealengine.com/t/viewport-reset-after-map-load-how-to-avoid-this/439562/1 "2018-12-15T15:35:07Z")

</div>

When using multiple viewports or multi-screen layout, camera orientation resets every time after opening a map:

View orientations set, before:

 ![262459-viewbefore.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/8/618ee72c60803d09ffd8f6973a065eeec562a8ab.jpeg)

… Same map, after loading (just e.g. close & open the same map):

 ![262460-viewafter.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/f/fcf76d05696425b85db3336d799fe966bd3788dd.jpeg)

Is there any way to retain the viewport orientation?.. Save it somehow, or set it from editor script?

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [December 15, 2018, 3:37pm UTC](https://forums.unrealengine.com/t/viewport-reset-after-map-load-how-to-avoid-this/439562/2 "2018-12-15T15:37:50Z")

</div>

I have some workaround for this, but it’s quite cumbersome: Add CameraActors on desired view locations, then you can select it from the ‘Perspective’ menu and snap the viewport to the camera view. But still, this takes 6 clicks every time a map is loaded.

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [January 3, 2019, 1:46pm UTC](https://forums.unrealengine.com/t/viewport-reset-after-map-load-how-to-avoid-this/439562/3 "2019-01-03T13:46:42Z")

</div>

I’ve checked the Python Editor Scripting, but it doesn’t seem to be able to fix that: [Python Editor Scripting: Set viewport orientation? - Editor Scripting - Unreal Engine Forums](https://forums.unrealengine.com/development-discussion/python-scripting/1566138-python-editor-scripting-set-viewport-orientation)

---

<div class="post-metadata">

**Author:** ![BlueMind\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueMind\_Studio](https://forums.unrealengine.com/u/BlueMind_Studio)\
**Post date:** [December 4, 2019, 9:18pm UTC](https://forums.unrealengine.com/t/viewport-reset-after-map-load-how-to-avoid-this/439562/4 "2019-12-04T21:18:09Z")

</div>

Hey @Slavq - I’m just trying out the PAC 🙂 I guess you should report that bug over in the “new” bugtracker! it is a form you need to fill (sorry don’t have the link at the moment, search answerhub or forums). this answerhub (is mostly) only community driven and I guess the don’t catch your bug messages here…

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [December 5, 2019, 3:06pm UTC](https://forums.unrealengine.com/t/viewport-reset-after-map-load-how-to-avoid-this/439562/5 "2019-12-05T15:06:23Z")

</div>

Hey, thanks for the info. Yes, I already did that earlier, but without any feedback so far. Maybe it’s not considered as a bug. So I’ve requested this in the main feedback thread: [Editor Utility Widgets Feedback - Editor Scripting - Unreal Engine Forums](https://forums.unrealengine.com/development-discussion/python-scripting/1604979-editor-utility-widgets-feedback/page9)
