Questions about Unity Editor versions

Hello. I am using S22(Snapdragon) and XREAL Light.
My Unity editor version is 2022.3.25f1.
But I want to upgrade the editor version to Unity 6.
Because Unity requires Unity 6 to use the Sentis library to run the AI ​​model in Unity.
When I run AR mode in XREAL Light with Unity 6, the app crashes within 20 seconds. Can you fix this problem?

Also, I am displaying an RGB camera texture on the screen in 2022.3.25f1 version, and I turn the RGB texture on and off by Play, Stop, Play, Stop. Sometimes, the app freezes. Please tell me how to fix this problem.

Thank you.