How to add a deny list entry

Hello, we use a script to change our project version everytime we make a new build, but the iterative cooking process gets invalidated because the .ini has changed. The log tells me

To avoid this add a deny list setting to DefaultEditor.ini [CookSettings] Game:/Script/EngineSettings.GeneralProjectSettings

But i’m lost on how to properly add this deny list, any help would be appreciated

You can find the .ini inside of the YourProject\Config. In here you can supply various things like:

[/Script/Engine.GameEngine]
+UnsupportedPlatforms=Switch
+UnsupportedPlatforms=XboxOne

I am not sure about the command you need to enter to make sure the DefaultEditor.ini doesn’t process when updated.

Yeah the problem is the exact way to add the deny list stuff

Tried some stuff, at last i found the solution.
Add these to your DefaultEditor.ini to ignore changes to the GeneralProjectSettings.ini, so it doesn’t invalidate your cook.

[CookSettings]
+CookOnTheFlyConfigSettingDenyList=Game:/Script/EngineSettings.GeneralProjectSettings
+CookByTheBookConfigSettingDenyList=Game:/Script/EngineSettings.GeneralProjectSettings

(I’m not sure if both are needed, i just put them for safety)

1 Like

Great job! Thank you for sharing the solution!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.