Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.2.0a1
2018.2.2f1
Issue ID
1067185
Regression
Yes
JavaScript files under WebGLTemplates folder are being compiled as UnityScript after modifying them
How to reproduce:
1. Open the attached "TestFor1067185.zip" project
2. Go to Assets -> WebGLTemplates -> TestTemplate
3. Modify testScript.js file and save it
4. Observe the compilation errors in the Console window
Expected result: JavaScript files under WebGLTemplates folder are ignored
Actual result: JavaScript files under WebGLTemplates folder being compiled as UnityScript
Reproducible with: 2018.2.0a1, 2018.2.2f1, 2018.3.0a8
Not reproducible with: 2017.1.5f1, 2017.2.3p3, 2017.4.9f1, 2018.1.9f1
Update: fixed in 2018.3.0a11
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
pedro_unity228
Dec 14, 2018 21:33
The workaround I found was to rename my WebGLTemplate files from .js to .javascript and fixing the references from index.html.
Definitely not something fun to do but seems to work short-term.
pedro_unity228
Dec 14, 2018 20:47
Finally found someone else with this problem. Happy to hear it's fixed in 2018.3... Please backport to 2018.2! Is there a known workaround? It's now got me completely stuck. :-(
tonialatalo
Sep 25, 2018 18:06
Any backport of this for 2018.2, maybe in a patch release soon?
Does not really help that it's fixed in 2018.3 at this point.