Resources.Load() working in editor and PC Standalone, but not in UWP
I'm having trouble when using Resources.Load on certain platforms that I build to.
I have my Json file called "gamedata" located in a Resources folder like so:
And I'm loading it with this script:
var worldConfig = Resources.Load<TextAsset>("worlddata/gamedata");
The problem is that this script doesn't seem to work on certain platforms.
This does work in:
Unity Editor
Windows Standalone
However this does not seem to work in:
WebGl
UWP
I tried to find the solution to this issue for a while but I"m not having any luck.
If anybody can help find a solution that would be well appreciated :)
Your answer
![](https://koobas.hobune.stream/wayback/20220612131548im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Change opacity from 0 to 255 when image is loaded 0 Answers
Load Material From PersistentDataPath at runtime for Android 0 Answers
Cannot load obj file webGL solution 0 Answers
What is the best solution to load models at runtime? 1 Answer
[Error:] Cannot Deserialize JSON to new instances of type ' X ' 1 Answer