x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Setting bThrottleCPUWhenNotForeground for all projects

Hey folks,

I'm pretty new to Unreal development, and I am very confused as to how blueprints work, and how the same variables are apparently referenced between C++ code, the console, and the .ini files.

In the editor, if I change the "Use Less CPU when in the Background" setting, it then adds/removes the following to/from the EditorPerProjectUserSettings.ini file:

 [/Script/UnrealEd.EditorPerProjectUserSettings]
 bThrottleCPUWhenNotForeground=False

If I edit that file, then my changes take effect, and this feature is enabled/disabled as expected. However, if I try to modify our DefaultEditor.ini to contain those same lines, then the setting doesn't seem to be respected.

How, I presume this is because of the object path /Script/UnrealEd.EditorPerProjectUserSettings. However, I am not sure what the right path to use would be in the DefaultEditor.ini file. This way, the default would be to set this thing to false, but allow the user to override this in their local settings.

Failing that, I would also be ok with forcing this thing to always be false. For example, we could hook into an AActor::BeginPlay() event using C++ code, and modify this setting directly (including the use of UWorld::Exec() ). Though, to do this, I have to figure out how to access this setting from the console. In the .ini files, it's under EditorPerProjectUserSettings. But, according to the C++ docs, it's in a totally different object: http://api.unrealengine.com/INT/API/Editor/UnrealEd/Editor/UEditorPerformanceSettings/index.html

So, any hints on how to achieve what I want?

Product Version: UE 4.15
Tags:
more ▼

asked May 11 '18 at 09:19 PM in Using UE4

avatar image

daverud
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question