Hello.
The issue is related to custom user code & project imported from a legacy Unity version. This is generally not something we can provide support for.
However if it is possible for the user to diagnose the root cause of the observed difference, I can take a look at that and confirm whether it is an unexpected regression.