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
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
- Reference to a deleted GameObject becomes "None" instead of "Missing" when the GameObject is restored with undo after entering and exiting Play Mode
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
- Particle System Curve presets can't be scrolled and some of them can't be selected if window is too narrow to fit them all
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.