Search Issue Tracker
Won't Fix
Won't Fix in 2021.2.X
Votes
12
Found in
2021.2.0a11
Issue ID
UUM-3558
Regression
Yes
"Hold on" popup hangs on "Importing assets" when changing script if Visual Studio is opened while in Play Mode
How to reproduce:
1. Create a 3D project
2. Create and attach a script to anything in Hierarchy
3. Open the script and add a line of code (e.g. "int d;")
4. Click back on the Editor in order for recompilation to begin
Expected result: Recompilation occurs and the "Hold on" popup closes
Actual result: "Hold on" popup hangs on "Importing assets"
Reproducible with: 2020.2.4f1, 2020.3.2f1, 2021.1.0b5, 2021.2.0a11
Not reproducible with: 2018.4.33f1, 2019.4.23f1, 2020.2.3f1, 2021.1.0b4
Note:
1. Can reproduce in two ways, before opening the script entering Play Mode, or without entering Play Mode
2. Can reproduce by just opening a Script
3. If in Preferences of External Tools of IDE is set to "Open by file extension", doesn't seem to reproduce after choosing this setting and reloading Unity and VS.
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
- [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
- [Android] GraphicsBuffer.CopyCount does not work with Append Compute Buffer after Compute Shader Dispatch on some Android devices
- "DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
- New items are created and old ones remain in memory when using 'treeView.SetRootItems(items)' and 'treeView.Rebuild()' which can cause a memory leak
- Code continues to run after enabling the Frame Debugger when in paused Play Mode and using 'WaitForSecondsRealtime' coroutine
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (2021.2.X):
Unable to repro, also checked the FogBugz it also seems others had issue reproing, so closing until we get a consistent repro.
Also, this is probably the most common scripting workflow (add a variable and recompile). If there were an issue in this area, there would be way, way more reports about it. Just my 2 cents