Search Issue Tracker
By Design
Votes
1
Found in [Package]
2.0.0
Issue ID
VS-13
Regression
Yes
[Scripting] Javascript file doesn't open up along with "JScript compilation error" on opening it from the project view
JavaScript file doesnt open in external application along with "JScript compilation error" on opening it from the project view. Refer attached screenshot.
Steps to repro:
1. Create a new Project
2. Import any javascript file
3. Window > Package Manager > Visual Studio Editor > Install
4. Double-click on Project window > Assets > javascript file
Actual Result:
Unable to open the javascript file in the external application from the project view.
Expected Result:
javascript file opens up in the external application.
Reproducible with:2020.1.0a15
Working Fine with: 2020.1.0a14, 2019.3.0f1
Package Found version: 2.0.0
Working Fine Package version: 1.0.11.
Environment: Only on Windows 10.
-
Barns12
Apr 12, 2022 17:38
Have you already tried to fix this problem yourself? I just know only one way to fix the problem when the page does not work with Javascript. Here in this article HTTPS://sitechecker.pro/site-audit-issues/page-broken-javascript-files/ , the reasons for which such an error occurs are described in detail, and at the end of the article, it is described how everything can be fixed.
-
JaneFoster
Apr 12, 2022 17:20
And about how to fix the problem when the page does not work with Javascript, can you advise something? I don't know how to fix this error...
-
Rickys1206
May 13, 2021 00:58
No me manda el correo para tener una cuenta
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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Resolution Note:
In this case the user will have add javascript files to the extensions supported. This can be done Project Settings > Editor under Additional extensions to include for Visual Studio.
For Rider and VSCode this can be done under Preferences > External Tools. Adding to the Extensions Handled here will do the same as above for VS.