Search Issue Tracker
Won't Fix
Votes
1
Found in
2017.1.0b1
Issue ID
903124
Regression
No
[.NET4.6][RuntimeUpgrade] Empty error is thrown after importing .js script when PlayerSettings window is active
Steps to repro:
1. Create new project;
2. Go to PlayerSettings window (Edit -> Project Settings -> Player);
3. Switch scripting runtime version to .NET 4.6 by selecting it in corresponding dropdown list;
4. Save project;
5. Restart Editor;
6. Go to PlayerSettings window (Edit -> Project Settings -> Player);
7. Import attached package by dragging it to Project folder.
Expected result:
- API Updater launches;
- Package is imported without errors;
Actual result:
- API Updater doesn't launch;
- Empty uninformative error is thrown in the console (see attached screenshot).
The error is triggered by 'Map_tc.js' script, located in Assets -> Editor, that failed to upgrade.
Workaround is to restart Editor - in this case API Updater launches correctly.
Notes:
- Reproducible in 2017.1.0b1;
- Reproducible only for .NET 4.6 Scripting Backend; Not reproducible for .NET 3.5 and for Mono 2x Scripting Backends;
- Reproducible only when PlayerSettings window is active;
- Reproducible on both Windows 10 and OSX 10.12.3;
- Reproducible only for this particular .js file.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
Add comment