You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unity in version 2020.3.33 is unable to load js files from polyfills, as they are just not found. Unity Resources class cannot find them as valid extensions.
To fix that I needed to manually copy the files and change the extensions of those files to txt.
For compatibility reasons, I would keep them as txt in the final package. Either by making them permanently txt or by adding CI pipeline to that to retain the highlights in vscode and others.
The text was updated successfully, but these errors were encountered:
If Unity can't find .js files in Resources, that will be a problem not only for polyfills, but also for other cases too (after build for example). I don't remember this issue in any unity versions. Might be a bug in Unity 2020.3.33. I will need to investigate.
Unity in version 2020.3.33 is unable to load
js
files from polyfills, as they are just not found. UnityResources
class cannot find them as valid extensions.To fix that I needed to manually copy the files and change the extensions of those files to txt.
For compatibility reasons, I would keep them as txt in the final package. Either by making them permanently txt or by adding CI pipeline to that to retain the highlights in vscode and others.
The text was updated successfully, but these errors were encountered: