Closed foungyu closed 3 years ago
Honestly, I never tried it with the new XR Plugin Management. If it is complaining about logging, you can try disable the log from native, just uncomment the part related to setting up the log callback.
Hi Qian, thanks for your reply. It turns out the issue in XR plug-in system is
WorldManager.GetNativeISpatialCoordinateSystemPtr
in ARUWPVideo, it returns null Ptr if you use XR plugin system, check Unity doc link here . So using WindowsMREnvironment.OriginSpatialCoordinateSystem
instead of GetNativeISpatialCoordinateSystemPtr
fixes the issue.
@foungyu Thankyou for your post- what is the full line you replaced the error script line with please?
Thanks for sharing this project, it works well with 2019.4.6f1 Unity XR Legacy, however when I switch to XR Plugin Management. it throws exception. Do you have any thoughts on what might cause this issue? Thanks.