Closed GG3Hahn closed 3 months ago
This is an issue with the IL2CPP Code Generation setting Faster Runtime
. When set to this, some generic methods don't work (i.e. json parsing). Set this to Faster (smaller) Builds
in the build settings.
That did indeed do the trick, thanks!
Describe the bug
I built ArcViewer for WebGL, but opening any map fails with "Unable to load Info.dat".
How to Reproduce:
Steps to reproduce the behavior:
This only occurs on my own build, while https://allpoland.github.io/ArcViewer works as expected with the same maps and browser. Maybe my build settings are wrong? (Maybe you could add more detailed build instructions? 🙏) My build for Windows also works as expected.
Expected behavior:
The map loads and plays fine.
Build Info:
Additional context:
My Build Settings
(Player Settings are unchanged, issue happens both with and without Development Build ticked)
Browser Console Output
This is from trying to load a BeatSaver ID, but interestingly ArcViewer also logs the line
when loading the same map from a local zip (so it definitely isn't derived from BeatSaver metadata and instead has to be from
Info.dat
, right?)Full Log