Closed asus4 closed 4 years ago
Thanks for reporting. This does not happen in current master
, and, looking at the code for ARFace.cs
, it looks like everything is guarded correctly. It may have been an issue in a 3.0 preview, but it looks like it was fixed. Please reopen if you are still seeing this.
Hello,
I have dealt with the exact same issue lately while working on an ARFoundation simulation tool as well. I managed to solve it temporarily with what @asus4 shared in his thread.
Are there any updates about this issue today ?
Environment : Unity Editor 2019.4.24f1 ARFoundation 4.1.7 ARKit 4.1.7 ARCore 4.1.7
Hi, I am making an ARFoundation remote simulation tool. Making a subclass of XRFaceSubsystem that works on UnityEditor.
ARFace.GetUndisposable
throws on only UnityEditor, since NativeArray.cs is checked read/write access on Editor. it works if removeGetUndisposable
and simply return the native array. any workaround?NativeArray.cs source code
Error Message
Environment