Output gamma, where to set?

Ok I have something weird. I received a scene from a colleague. And when I press render the render dialogue says the output gamma of the file is set to 2.0. I have no clue how to set this back to 2.2. My Color Management is set to gamma 2.2, VFB is set to sRGB. The JPG (in this case) is saved with gamma set to automatic, which always saved as 2.2 for me. But in this particular scene it doesn’t. So am I missing something?

When I render one of my own scenes it’s correct:

​​

fileoutgamma = 2.2

Ah, yeah, I remember that line from back in the day. But I wonder how it got screwed up…

If you l’ve opened a scene that is using different gamma settings Max will adopt these settings unless you asked it to ignore them.
To add more, If you finished working on this file and did “File > Reset”, Max will keep these new settings set unless you have custom Maxstart file.

Wait wait…now I see I have this at gamma 1.0
Recently updated to MAX 2026 and vray 7. Is this something I should set? MAX colour managment is set to gamma workflow, and display gamma is 2.2

You need to have a folder and filename specified, if you don’t specify a save file then this says it’s at gamma 1.0. Back in the day you had to use that maxscript line, but that is way old, normally you don’t have to touch these things anymore.

All my scenes, and my completely library is set to gamma 2.2, I ran library track relink on everything a couple of years ago, so on my end it’s all good. It’s just this file, and when I open it nothing about gamma is being asked. Guess it got screwed up somewhere at my colleagues’. Shouldn’t it ask if I want to adapt these settings when I open the scene?

Yes, it should ask.
But maybe there is a bug that doesn’t trigger the message.
You could try opening another scene with proper gamma settings and come back to this one to see if that message will appear.
If not, I would consider it as a bug and report it to Autodesk.