-
-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
Describe the bug
When the browser language is set to a European language such as French or German, the following error occurs on page load:
SyntaxError: Expected double-quoted property name in JSON at positon 334 (line 8 column 37)
It seems that parsing the JSON string fails due to the influence of the language settings.
This issue occurs in the WebXR Export sample scene.
To Reproduce
Steps to reproduce the behavior:
- Build the WebXR Interactions sample scene (for example, the WebXRInteractionToolkit scene).
- Set Chrome’s language to French (or another European language) and load the page.
Unity info (please complete the following information):
- Editor version: 2022.3.62f1
- WebXR package version: 0.22.1
- WebXR Interactions version: 0.22.0
- Git or OpenUPM: OpenUPM
- Using old components (like the Desert sample) or Input System + XR Interaction Toolkit: not sure.
- Built-in render pipeline or URP: URP
Desktop (please complete the following information):
- OS + Version: Windows 10
- Browser: Chrome
Headset (please complete the following information):
It occurs as soon as the page is loaded in the browser.
De-Panther
Metadata
Metadata
Assignees
Labels
No labels