Troubles with lights, lumen and shadows on Vision Pro, how to fix it?

Reducing the dynamic shadow distance in the light solved the shadow problem.

However the result is still very odd.
When Ï try to activate deffered rendering for mobile, the application crash on the vision pro..