C152 - OAT gauge indicates wrong temperature

ISSUE DESCRIPTION

Description of the issue: OAT gauge indicates wrong temperature

FREQUENCY OF ISSUE

How often does this occur for you (Example: Just once, every time on sim load, intermittently)? always

REPRODUCTION STEPS

Please list clear steps you took in order to help our test team reproduce the same issue:

  1. spawn C&D or on the runway with the C152 Classic or C152 Aerobat
  2. set unit of measure to Hybride in language settings
  3. for the test, use clear sky preset and set temperature at 0C
  4. check the OAT gauge, it indicates 10C

YOUR SETTINGS

If the issue still occurs with no mods and add-ons, please continue to report your issue. If not, please move this post to the User Support Hub.

What peripherals are you using, if relevant:

[PC Only] Are you using Developer Mode or have you made any changes to it?

[PC, MSFS 2020 Only] Are you using DX11 or DX12?

[PC Only] What GPU (Graphics Card) do you use?

[PC Only] What other relevant PC specs can you share?

MEDIA

I can’t get as good an angle as your screenshot, but the temp is obviously off by a fair amount.
Regards

This is what I’m seeing at MMMU in v1.6.33.0 with the default 152 classic, with Unit of Measurement within the Language settings section set to Hybrid:

Thanks for checking.
That’s weird, same airport MMMU, same weather conditions but still getting 10C on the gauge with an outside temperature of 0C:

The cause for this specific bug of wrong temperature indicated on the OAT gauge in Celsius is that the animation scale and the values configured in the interior xml file does not match.
It looks like the template is configured for Celsius values, so for the Celsius range to be correct, the min value should be -48 and the max value should be roughly 87. Currently, the values are -60 and 80.
The full formula being used by the sim in this case is ((A:ambient temperature, celsius) - -60) / (80 - -60) * 100.

There is a secondary issue of the Gauge graphics having the wrong scale between C and F scales reported in the other bug thread, but the code in this case is set up for the Celsius scale.

image