52place
1 vote Vote

infinite generation not working in webgl build

setup a basic unity scene with the map magic MinuteIslandInfinite demo graph, enable infinite generation make sure it runs fine with a desktop build, it may require deleting NativePlugins.dll as it throws an error when compiling if that dll is present.

Now build for webgl and only 1 terrain spawns, even if you move to the edge of the terrain.

dan urquhart , 21.07.2021, 02:51
Idea status: under consideration

Comments

Wraith, 22.07.2021, 20:15
Try disabling C++ Native Code in Window - MapMagic - Settings
twobob, 29.10.2021, 21:39
This is confirmed as still broken in the latest release Denis.
twobob, 30.10.2021, 01:28
Further testing shows that Pinned tiles DO generate. Only infinite is not working.
Wraith, 30.10.2021, 09:18
Native code and multithreading are not supported in WebGL. Beside that, WebGL has very strict limitations on the amount of memory used. To make it work:
- Disable C++ Native Code in Window-MapMagic-Settings;
- Disable multithreading in MapMagic object - Multithreading - Use Multithreading;
- Disable draft terrains in Tile Settings - Use Draft Terrains - Playmode. Actually, drafts don't have much sense when multithreading is disabled;
- Start with very low resolution, and raise it with testing whether it works. Also keep the nodes count as low as possible.

Leave a comment