Wireframe shader issue

On device the application crashes when loading an object with the Wireframe material and VR/SpatialMapping/Wireframe shader. Works as expected in the simulator in Unity but will crash every time on device. Other materials / shaders do not cause an issue and it seems to be related to the geometric computation going on in the shader.

It worked on the previous SDK we were using (SDK 0.53.1) both in the simulator in Unity and on device. Any help is much appreciated.

Unity Editor version: 2022.2.0b12
ML2 OS version: B3E.220818.12-R.046-R.420 (user)
MLSDK version: 1.0.0
Host OS: Windows

1 Like

I've had the same issue, and it SEEMED that it would only do it when I had Magic Leap's new spatial mapping wireframe in the scene with it. I say 'seemed' because I did add it to scenes that didn't use ML's wireframe, and it worked.

2 Likes

@dhartley Thank you for your post. I'll talk to our engineers and report back here asap.

1 Like

@dhartley Can you please try updating to the latest releases in the Magic Leap Hub and let us know if this is still an issue? Thanks very much.

1 Like

Hi @dhartley, we've released MLSDK 1.1.0. and Unity Package 1.3.0. Please try updating and let us know if this is still an issue. Thanks very much.

1 Like