Search Issue Tracker
Fixed
Votes
14
Found in [Package]
Issue ID
1314920
Regression
Yes
[UI Toolkit] An error is thrown in Console window when switching Editor’s Code Optimization mode
Reproduction steps:
1. Create a new Unity project
2. Open the Package Manager (Window->Package Manager)
3. Add UI Toolkit package from git URL ("+" > Add package from git URL... > "com.unity.ui" > Add)
4. Switch the Editor’s Code Optimization mode to Release or Debug in the bottom right of the Unity Editor Status Bar
5. Observe the Console window
Expected result: no errors appear in the Console window
Actual result: the "The requested operation cannot be performed on a file with a user-mapped section open. 0 file(s) copied." error is logged
Reproducible with: 1.0.0-preview.14 (2021.1.0a8, 2021.1.0b9), UI Builder 1.0.0-preview.14 (2021.2.a9)
Not reproducible with: 1.0.0-preview.14 (2020.2.6f1), UI Builder 1.0.0-preview.9 (2021.1.0a1)
Could not test with: 2018.4, 2019.4 (UI Toolkit is not introduced yet), 2021.1.0a1-0a7 and 2021.2 (due to UI Toolkit's errors)
Comments (5)
-
microteq
Jun 17, 2021 13:00
Same for me with unity version 2021.1.10f1
-
ADoucette
May 27, 2021 17:28
Occurring in 2021.1.7f1 when I try to switch build platforms.
-
RedHillbilly
May 19, 2021 10:34
Same issue here, any news?
-
xXPancakeXx
May 12, 2021 19:42
Same on my project on version 2021.1.6f1
Any improvements on this one? -
M3Nd1
Mar 24, 2021 04:39
Its happening since i updated to 2021.1.0f1 from 2020.2.5f1.
Im using UI Toolkit but i cant know for sure that package is causing the issue
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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note:
Fixed in: 2022.1.0a1
Resolution Note:
Fixed in: 2021.2.0b3
Resolution Note:
Fixed in: 2021.1.16f1