Its not an OS issue, its a camera firmware issue. Yes they are compatible for the most part however they are only truly compatible with the use of a programmer. what you need to do is program the new camera housing using the information from the old camera unit that originally came with the iPhone SE when you purchased it.
If you don't have the original part anymore then I would recommend contacting Apple and getting the part from them. They have started offering genuine replacements for certain parts like the front panel screen and cameras for multiple models.
It will be more expensive going that route however since you have already opened the device and replaced the camera before, apple will no longer honor your warranty, not even if you are currently paying a monthly fee every month for AppleCare+.
Hope's that helps