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
What version of that package or tool are you using?
2024.4.7
What version of Remix are you using?
2.9.2
Steps to Reproduce
Upload .glb model to product.
Load model (model3d) via product/GraphQL
What I had also to do is added scriptSrc: ["'self'", 'https://unpkg.com', ...] to "createContentSecurityPolicy"
initialize model with hydrogen component
Expected Behavior
Model will be rendered and can be loaded/viewed.
Actual Behavior
Just preview image is shown and error "JSON.parse: unexpected character at line 1 column 1 of the JSON data" is thrown.
(See screenshot)
I was also able to reproduce it in older hydrogen versions.
#UPDATE: With sample model provided by shopify it's working. My model is also working with the generic shopify online-store template, but not with hydrogen.
The text was updated successfully, but these errors were encountered:
Unfortunately my model is not for public use, but I found out that this seems to be related to the model.... It seems to work correctly with another example model.
What is the location of your example repository?
No response
Which package or tool is having this issue?
Hydrogen
What version of that package or tool are you using?
2024.4.7
What version of Remix are you using?
2.9.2
Steps to Reproduce
Expected Behavior
Model will be rendered and can be loaded/viewed.
Actual Behavior
Just preview image is shown and error "JSON.parse: unexpected character at line 1 column 1 of the JSON data" is thrown.
(See screenshot)
The text was updated successfully, but these errors were encountered: