snozbot / fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
MIT License
1.67k stars 293 forks source link

Validate WebGL behaviour #907

Open stevehalliwell opened 4 years ago

stevehalliwell commented 4 years ago

New features, such as audio and save need to be validated in webgl builds, as does the general behaviour of Fungus on that platform for 2019.4 and 2020.x

At present there are exceptions being thrown by webgl builds of TheExperiment that appear to be unique to that platform.

esklarski commented 2 years ago

I bet the error is the same thing I encountered on my Linux system.

There are 4 problematic folders: 'Audio' + 'audio' and 'images' + 'Images' thay get Unity all flustered; with an error to the effect of: "unity does not does not support case sensitive file naming".

Merging the folders to 'Audio' and 'Images' fixes the problem in my fork of fungus.

I recently completed a project (Unity 2021) using Fungus, and it's published in a WebGL form. Runs fine, but I also never imported the examples to the project.