Issue with Inworld Integration: Errors Across SDK Versions on 8th Wall, on both version 9 and 8th

We’re working on integrating Inworld AI into a project hosted on 8th Wall, and we’ve encountered issues with both the latest version of the Inworld SDK and version 8.

The main error always points to line 90 in component_inworld.js, “console.error(err)”

Here’s a breakdown of the challenges:

  1. Using the Latest SDK Version:
  • Error: "authentication is required" (code: 16) or SyntaxError: The string did not match the expected pattern.
  • Details: We are using the same API Key, Secret, Scene ID, and Character ID that work in Unity, but the browser environment fails to authenticate.
  1. Using SDK Version 8:
  • Error: SyntaxError: Unexpected token in component_inworld.js.
  • Details: The error appears to stem from modern JavaScript/TypeScript syntax, but even with Babel transpilation, the issue persists.

Testing Setup:

  • Our project, works with Unity (using a different api key, but the same workspace)
  • The head.html file includes the required Inworld Web SDK scripts (inworld-web-core and inworld-web-threejs-8thwall.min.js).
  • Attached are relevant screenshots of the errors and our configurations.

We are a premium user on 8th wall.

Hi! Welcome to the forums!

You’re not the first person I’ve seen encountering issues with the Inworld module. Since it’s maintained by Inworld, I recommend reaching out to their support team directly. Additionally, cross-posting the issue on their forums will help increase visibility.