Hi,
I'm a little confused, so I don't know if this fits in this forum or not:
I have a project in which I use the following behavior:
construct.net/en/make-games/addons/544/bound-viewport
During the export I encountered the first problem yesterday: An error that I also wrote on the linked page.
I fixed that and was able to export successfully. However, when I start it, I get an error in main.js:
I didn't see anything related to the addon until I removed it and re-exported and ran it again:
The error has disappeared!
So I just added another condition
&&typeof a.parentElement!=="undefined"
to fix it, but of course that can't be the solution.
What can be the reason? I created an empty project that also uses this behavior and the error doesn't come up. Hence my confusion I mentioned at the beginning.