three_dart icon indicating copy to clipboard operation
three_dart copied to clipboard

Assigning an array of materials to a mesh results in a native crash on MacOS

Open Norbert515 opened this issue 2 years ago • 1 comments

    var mat = MeshPhongMaterial({'shininess': 10, 'name': 'box'});
    var diceMesh = THREE.Mesh(THREE.BoxGeometry(1, 1, 1), [
      mat,
      mat,
      mat,
      mat,
      mat,
      mat,
    ]);

Crashes the application natively with the following native error (uploaded as txt cause of the 65536 character limit):

error.txt

Norbert515 avatar Oct 02 '23 17:10 Norbert515

Hi @Norbert515,

I have tried to mimic your error, but have not succeeded. I was wondering what type of mac you are using. I have ran this on both an M1 and M2.

Also what version of three_dart are you using.

Lastly can you try this forked repo to see if it has the issue?

https://github.com/Knightro63/three_dart

Thanks.

Knightro63 avatar Oct 12 '23 15:10 Knightro63