LaTeX-Workshop doesn't find the root file when I use the _Magic comment_ method. Using the absolute instead of the relative path doesn't help either.

Please try TEX instead of TeX. The bug was fixed in the repo but not released to the marketplace. Please confirm if it works or not.
It works, thank you so much!
Most helpful comment
It works, thank you so much!