Skip to main content

Build not working in Unity Playworks but runs fine in browser

This issue consists of a build that stops rendering in Unity Playworks but it works fine in the browser.

Error shows this log:

Cannot read properties of undefined (reading '$ctor1’)

images-medium

This could be generated by some UI Text element, which it may produces different errors and it stops the rendering.

images-medium

Possible solution:

  • Remove the UI text element.