Construct-3 and Gamedistribution SDK integration: “window is not defined at new SingleGlobalInstance” error. – Gaetano Carmelo La Delfa – Medium

Photo by Markus Spiske on Unsplash

I recently added Gamedistribution SDK in one of my Construct3 games. After the integration I tried to launch the game and an awful black screen was shown to me, together with the following error in the console:

“referenceError: window is not defined at new SingleGlobalInstance”

After some hours of panic, I finally solved the problem. In case you are encountering the same issue, just set “use worker” to “NO” on C3 project.

I hope to save you some troubles with this small story!

Leave a Reply