Getting a 'clientX' error on some devices

Hi, a few of the devices (ipad Air 2 - ios 14.4.3, android mobile) are getting a TypeError: null is not an object (evaluating 'b.clientX'). Error occurs at line walk.min.js line 841 col 79

Is there a way i can debug as to why it is happening on this particular device?

Could you send us a link to the scene? We will try to reproduce the error on our test devices.

Hi Jan,

You can open the first scene. You could click on the blue sofa in the far end to open a list of materials.

I’m getting an Invalid OTP error, but to rule out that this problem is related to some custom hosting issue, could you temporarily upload this scene to the Shapespark hosting, check if the error is still present and if it is, send us a link to the uploaded scene (here or to support@shapespark.com)

Hi Jan, could you try logging in now, fixed the otp issue.

This looks like it can be some interaction between your custom material picker and the 3D viewer code. In a click handler that handles selection of the material do you call event.stopPropagation()? This should prevent the selection event from reaching the 3D viewer code.

This error doesnt allow the scene to load, custom material picker doesn’t load until a material is clicked in the scene.

Any chance we can fix this error to load the scene?

Is the below instruction related to the problem? :

No, the scene itself doesn’t open.

This error doesnt allow the scene to load, custom material picker doesn’t load until a material is clicked in the scene.

Any chance we can fix this error to load the scene?

Just need to know how to debug as to why the clientX is giving an error

Could you upload the scene to Shapespark hosting to verify if it is a generic problem or a problem related to the customizations that are present at vizstore.co?

Hey sorry for the delay in uploading these.
We have uploaded 4 scenes

Do the scenes uploaded to Shapespark hosting fail to load on the problematic devices? On the iPhone/Android devices that we have in the office the scenes load without any error.

Hi Jan, we figured out how to recreate this even in the scenes uploaded in shapespark.

  • It can only be reproduced in touch devices
  • Use two fingers to pan and zoom without lifting off the fingers from the screen.

I was able to reproduce this continuously on the shapespark scene and our website. Page stops responding on older devices(ipad air 2) after a while.

Thank you, we can reproduce these errors and are working on a fix.

1 Like

We have fixed this problem. The fix is currently available in Shapespark hosting and will be available for self hosting after the next Shapespark release. However we didn’t identify a case where these console errors would cause scene load failure or other user visible error, so perhaps there is some other, unrelated issue.

Hey Jan,
Do we have a timeline for release of a fix for the self hosting version. Also, will this be available to users who have purchased the perpetual license a year back?

Let us confirm this on Monday, but I think we will aim to make the release next week. Yes, we will enable this update for you.

Great, thanks! This would be really helpful if we get it in the next week.