cathei / BakingSheet

Easy datasheet management for C# and Unity. Supports Excel, Google Sheet, JSON and CSV format.
MIT License
346 stars 34 forks source link

Can't make it work in WebGL builds #28

Open miltoncandelero opened 1 year ago

miltoncandelero commented 1 year ago

Hello! I tried to use this in the WebGL target with and without the BetterStreamingAssets package and I can't make it work.

I think it is probably because StreamingAssets in web need to be loaded using UnityWebRequest but I don't understand how to use that with the included Converters.

Is there a converter that I can just feed the string containing my csv and it just works? 🤔


Some more info: I don't see any network request to download the assets, The error I am getting is Failed to find sheet: Constants when trying to run the line Debug.Log(Sheet.Constants.Count);

cathei commented 1 year ago

Hello! I have gotten this report before but didn't have time to look at it. I can suggest two solutions at this time: