# Changing device profile is very long 

**URL:** <https://forums.unrealengine.com/t/changing-device-profile-is-very-long/2707616>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [February 13, 2026, 7:29pm UTC](https://forums.unrealengine.com/t/changing-device-profile-is-very-long/2707616 "2026-02-13T19:29:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [February 13, 2026, 7:29pm UTC](https://forums.unrealengine.com/t/changing-device-profile-is-very-long/2707616/1 "2026-02-13T19:29:52Z")

</div>

Hi!

We are woking on a game on console platofrm.

And we have several device profiles.

Unfortunatelly in game, when we switch from quality to performance, it could take up to 20s to change.

The issue comes from :

`Manager.SetOverrideDeviceProfile(NewDeviceProfile);`

which in the end makes several calls to

`FGlobalComponentRecreateRenderStateContext RecreateRenderStateContext;`

I followed a little bit the spirit of `ActiveGlobalRecreateRenderStateContextCount` :

and I added a bool to avoid the call to be able to be done

```

FGlobalComponentRecreateRenderStateContext::FGlobalComponentRecreateRenderStateContext()

{

if(FApp::CanEverRender() && !bManualStopRecreation)

```

But with `bManualStopRecreation` being explicitly called to stop the recreation to be done.

It seems to work, but I was wondering why `ActiveGlobalRecreateRenderStateContextCount`is not usable.

Now we do :

```auto
	UDeviceProfileManager& Manager = UDeviceProfileManager::Get();
	FString NewDeviceProfileName = GetBestDeviceProfileName();

	if (Manager.GetActiveDeviceProfileName() != NewDeviceProfileName)
	{
		UDeviceProfile* NewDeviceProfile = Manager.FindProfile(NewDeviceProfileName, true);

		if(NewDeviceProfile != nullptr)
		{
			FGlobalComponentRecreateRenderStateContext::ManuallyBlockRecreation();

			TRACE_BOOKMARK(TEXT("Change for Profile : %s"), *NewDeviceProfileName);
			Manager.RestoreDefaultDeviceProfile();
			Manager.SetOverrideDeviceProfile(NewDeviceProfile);
			UE_LOG(LogConsoleResponse, Log, TEXT("Overrided Device Profile: [%s]"), *NewDeviceProfileName);
 
			FGlobalComponentRecreateRenderStateContext::ManuallyAllowRecreation();
			// force refresh to avoid rendering glitches
			FGlobalComponentRecreateRenderStateContext RecreateRenderStateContext;
 
		}
	}

```

Do it feel safe for you?

If there another way to block the recreation when calling the sink of all cvars?

Thanks

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![K.Nappoly](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/k.nappoly/32/1216749_2.png) [@K.Nappoly](https://forums.unrealengine.com/u/K.Nappoly)\
**Post date:** [February 18, 2026, 8:06pm UTC](https://forums.unrealengine.com/t/changing-device-profile-is-very-long/2707616/2 "2026-02-18T20:06:23Z")

</div>

Hello,

Thank you for reaching out.

An issue was observed with the ActiveGlobalRecreateRenderStateContextCount and was removed due to potential crashes from stale skin cache data.

Here is a related ticket that talks about a similar issue:

[Content removed]

This bug that was created as a result and contains commits that shows the details of this work.

[https://issues.unrealengine.com/issue/UE-296881](https://issues.unrealengine.com/issue/UE-296881)

Based on the known issue, we would advise stress testing your changes with skinned meshes.

Please let us know if this helps.

[Attachment Removed]
