Do you use 32bit versions of CODESYS? Why not 64bit? And just use the installer to manage your various versions and add-ons. Optionally use separate repositories to prevent possible library conflicts.
Runtime version SP22 is an LTS version.
Instead of complete VM's, you could also create a sandbox installation using the CODESYS installer.
Completely managed by CODESYS, including licenses. You specifically have to set the parameters correctly in the CODESYSControl.cfg to let the RTE have access to the cards. See: https://content.helpme-codesys.com/en/CODESYS%20Control/_rtsl_windows_rte_v3_startup_cifx_hil.html
I was able to reproduce this by doing something wrong. I guess what you did is first create an application for the Control Win, or some other device and then switched this to the Linux SL. But then the Visualization Manager still has the "TargetVisu" component, besides the WebVisu component. The Linux SL doesn't support this TargetVisu as part of the runtime. You should run a separate process for this. So remove the TargetVisu from the Visualization Manager and then you will be able to load the ...
I would suggest to install the latest visualization and visualization add-ons. Go to Tools - CODESYS installer to updates these add-ons (or just start the CODESYS installer through the Windows start menu). After installation, restart CODESYS SP22 and update the project to use this new visualization profile (you can update this through the menu Project - Project Environment - Visualization Profile).
A customer of us had the same issue. They updated (at that time) to CODESYS 3.5.21.50 and Control for Linux SL versie 4.19.0.0. After that they couldn't reproduce the issue anymore. You might give this a try too.
I never tried this, but maybe you need to create a certificate on the controller for this? See the menu View - Security Screen. Select the device and see if you need to create a certificate. And maybe you also need to accept the certificate of the other device. This can also be done in the security screen. PS, the CODESYS Runtime Control version must be greater than 3.5.21.0.