You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to retrieve the positional arrays of each particles in the mpm example in the unity side, however, I am having issues with obtaining this information. I have tried getting the vertex attribute position information which returns [0,0,0], and have tried using the ToArray() method in the NdArray class in order to obtain the arrays from the Taichi NdArray however, it continues to give me an error telling me that "Read from non-host-readable memory is not allowed." I have tried manually setting HostRead = true and then Unity crashed. Is there a way to retrieve this positional information or change the taichi ndarray to an array in c# that is readable without unity crashing?
The text was updated successfully, but these errors were encountered:
I am trying to retrieve the positional arrays of each particles in the mpm example in the unity side, however, I am having issues with obtaining this information. I have tried getting the vertex attribute position information which returns [0,0,0], and have tried using the ToArray() method in the NdArray class in order to obtain the arrays from the Taichi NdArray however, it continues to give me an error telling me that "Read from non-host-readable memory is not allowed." I have tried manually setting HostRead = true and then Unity crashed. Is there a way to retrieve this positional information or change the taichi ndarray to an array in c# that is readable without unity crashing?
The text was updated successfully, but these errors were encountered: