I came across this bug, where inverse gamma values are not displaying correctly. When using the Levels Adjustment to get a gamma value of 2.2, not able to do this using only one layer as its max value is 2, the value that I get is not correct.
Using a simple example with a mid gray color of (128,128,128), the inverse gamma value of this should be (55,55,55) and Affinity photo is giving me a value of (48,48,48). The sames happens with images and textures where I'm getting darker images than expected.
To get the right value, I have to set the gamma in the second Levels Adjustment to 1.1 instead of 1.2.
Please let me know if I'm wrong.