Using the new Navigation2DServer and exporting the game to windows & html5 leads to different behaviors in the game

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ChePhan

The different behavior means, navigation works in the Windows build but does not in in the HTML5 build.

This happened in my own project as well as the Navigation2DServerTest sample project from the asset library.

Do I have to make certain setting to make this work or is this simply a bug in den export templates?

After researching and bothering people in discord I found the situation is like this:
2DNavigation requires the Threads option in exporting. Threads require SharedArrrayBuffers in the browser and the browsers require the correct Cross-Origin headers which are set in the server configuration.

I theory I should be able to run the game in the browser now, but it stops after the title screen and the browser freezes, probably another issue.