I need to add javascript files to the ‘StreamingAssets’ so they’ll be copies to ‘assets’ folder on Android. When i do that, Unity tries to compile those javascript files and fails.
Is there any way to tell Unity not to compile those files and just copy them?
Hello, I have the same problem. I need it, because I am using android webview and showing a web page from local asset folder. Now I need two way communication between the unity and web page. Thats why I need to communicate with webpage java script with unity script. How can I do that. Please help me. Thanks In advance
I had the same problem and was able to solve it by changing the file extension of the javascript files in the StreamingAssets folder. I changed them from .js to .jsx and it got rid of the problem.