Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't make it work in WebGL builds #28

Open
miltoncandelero opened this issue Jul 5, 2023 · 1 comment
Open

Can't make it work in WebGL builds #28

miltoncandelero opened this issue Jul 5, 2023 · 1 comment

Comments

@miltoncandelero
Copy link

miltoncandelero commented Jul 5, 2023

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
Copy link
Owner

cathei commented Jul 5, 2023

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

  • This can be solved using ScriptableObject Converter
  • If you want converter that you can just feed CSV string, you can implement own IFileSystem (Example) and pass it into CSV converter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants